-
Bug
-
Resolution: Fixed
-
Minor
-
4.0.4
-
2
-
Team Omega 4.1 Sprint 0.5, Team Omega radar
We are getting some random failures on the "Highlight next week" scenario.
Some of the failed jobs:
- https://ci.moodle.org/job/W.02.05%20-%20Behat%20-%20Goutte%20+%20Oracle/1703/
- https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/27341/
- https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/27344/
Some side notes:
- Seems to happen on goutte headless browser, on jobs that runs on Sundays EU evening, for example 16:00 UTC.
- Looking the affected Behat feature, I can see the failing test makes use of ##monday last week## placeholder for startdate... so that would be my first "line of investigation" on this failure.
- This behat has been introduced by
MDL-73697and apparently we were having some issues with ##last week## that was not precise enough, so probably we will need to think in some other approach to test that.
$ vendor/bin/behat --config moodle_data_git/master/postgres_behat/behatrun/behat/behat.yml --profile headlesschrome --suite default --name 'Highlight next week'
|
|
Moodle 4.3dev+ (Build: 20230902), 206c3a66e77ceb153e5b5c6af22585e819f5d124
|
Php: 8.2.8, pgsql: 13.5, OS: Darwin 22.6.0 x86_64
|
Run optional tests:
|
- Accessibility: Yes
|
Server OS "Darwin", Browser: "chrome"
|
Started at 04-09-2023, 00:54
|
..F
|
|
--- Pasos fallidos:
|
|
001 Scenario: Highlight next week # /Users/stronk7/git_moodle/moodle/course/format/weeks/tests/behat/current_week.feature:14
|
Then I should see "This week" in the "#section-2" "css_element" # /Users/stronk7/git_moodle/moodle/course/format/weeks/tests/behat/current_week.feature:19
|
"This week" text was not found in the "#section-2" element (Behat\Mink\Exception\ExpectationException)
|
|
1 escenario (1 fallaron)
|
3 pasos (2 pasaron, 1 fallaron)
|
0m4.90s (53.30Mb)
|
- has been marked as being related by
-
MDL-73697 Week format section highlight text mismatch on content
-
- Closed
-