mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
MDL-73859 behat: Fix random error highlighting week
The first week is only highlighted if course starts today or later. So, the course will be created with startdate on yesterday to guarantee it always passes.
This commit is contained in:
parent
d24a4ab56f
commit
9096a1e1ac
@ -7,7 +7,7 @@ Feature: The current week should be highlighted in the course.
|
||||
Scenario: Highlight first week
|
||||
Given the following "courses" exist:
|
||||
| fullname | shortname | format | coursedisplay | numsections | startdate |
|
||||
| Course 1 | C1 | weeks | 0 | 5 | ##today## |
|
||||
| Course 1 | C1 | weeks | 0 | 5 | ##yesterday## |
|
||||
When I am on the "C1" "Course" page logged in as "admin"
|
||||
Then I should see "This week" in the "#section-1" "css_element"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user