-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
3.7.3, 3.8, 3.9
-
MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
-
MDL-67310-main
Different (in theory) from MDL-65538, this is happening randomly, but often enough to deserve an issue:
Link: https://ci.moodle.org/job/W37.07.01%20-%20Behat%20-%20Firefox%20+%20Postgres%20+%20Classic/134/
Affects, at very least to 37, 38 and master. Both boost and classic. Specially to firefox.
001 Scenario: Go to the competency course competencies page. # /var/www/html/admin/tool/lp/tests/behat/course_competencies.feature:48
|
And I should not see "Test-Comp2" # /var/www/html/admin/tool/lp/tests/behat/course_competencies.feature:58
|
"Test-Comp2" text was found in the page
|
And, not so often, but also added under this issue's umbrella, there is the sister problem:
Link: https://ci.moodle.org/job/W38.07.01%20-%20Behat%20-%20Firefox%20+%20Postgres%20+%20Classic/7/
001 Scenario: Go to the competency course competencies page. # /var/www/html/admin/tool/lp/tests/behat/course_competencies.feature:48
|
And I should not see "Test-Comp1" # /var/www/html/admin/tool/lp/tests/behat/course_competencies.feature:61
|
"Test-Comp1" text was found in the page
|
Surely the former failing earlier causes the later to fail less often.
And 2 more failures in the same scenario that have just passed the threshold to be reported (headless, after W3C switch, apparently):
Link: https://ci.moodle.org/job/S39.04.01%20-%20Behat%20-%20Firefox%20+%20Postgres/60/
001 Scenario: Go to the competency course competencies page. # /var/www/html/admin/tool/lp/tests/behat/course_competencies.feature:48
|
And I set the field "Filter competencies by resource or activity" to "PageName2" # /var/www/html/admin/tool/lp/tests/behat/course_competencies.feature:59
|
(Facebook\WebDriver\Exception\NoSuchElementException)
|
Link: https://ci.moodle.org/job/W310.07.01%20-%20Behat%20-%20Firefox%20+%20Postgres%20+%20Classic/135/
001 Scenario: Go to the competency course competencies page. # /var/www/html/admin/tool/lp/tests/behat/course_competencies.feature:48
|
And I should not see "Test-Comp1" # /var/www/html/admin/tool/lp/tests/behat/course_competencies.feature:61
|
The element reference of <strong> is stale; either the element is no longer attached to the DOM, it is not in the current frame context, or the document has been refreshed (Facebook\WebDriver\Exception\StaleElementReferenceException)
|
Don't know it the 2 more recent are the same / related to the initial ones but being reported differently after the switch to W3C drivers and headless... or no. Just we have detected those 4 different failures in that scenario.
- will be (partly) resolved by
-
MDL-67600 Add @randomfails tag to random behat fails
- Open