mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-71518 behat: Remove %P and AM/PM
The %P modifier is not supported in the macOS (MDL-71549)
This commit is contained in:
parent
35d1ac13d2
commit
a27876c3df
8 changed files with 31 additions and 31 deletions
|
@ -45,7 +45,7 @@ Feature: A teacher can set available from and deadline dates to access a lesson
|
|||
And I log in as "student1"
|
||||
And I am on "Course 1" course homepage
|
||||
When I follow "Test lesson"
|
||||
Then the activity date in "Test lesson" should contain "Opens: Tuesday, 1 January 2030, 8:00 AM"
|
||||
Then the activity date in "Test lesson" should contain "Opens: Tuesday, 1 January 2030, 8:00"
|
||||
And I should not see "First page contents"
|
||||
|
||||
Scenario: Forbidding lesson accesses after a specified date
|
||||
|
@ -74,5 +74,5 @@ Feature: A teacher can set available from and deadline dates to access a lesson
|
|||
And I log in as "student1"
|
||||
And I am on "Course 1" course homepage
|
||||
When I follow "Test lesson"
|
||||
Then the activity date in "Test lesson" should contain "Closed: Saturday, 1 January 2000, 8:00 AM"
|
||||
Then the activity date in "Test lesson" should contain "Closed: Saturday, 1 January 2000, 8:00"
|
||||
And I should not see "First page contents"
|
||||
|
|
|
@ -216,7 +216,7 @@ Feature: Lesson group override
|
|||
And I log in as "student2"
|
||||
And I am on "Course 1" course homepage
|
||||
And I follow "Test lesson name"
|
||||
Then the activity date in "Test lesson name" should contain "Closed: Saturday, 1 January 2000, 8:00 AM"
|
||||
Then the activity date in "Test lesson name" should contain "Closed: Saturday, 1 January 2000, 8:00"
|
||||
And I should not see "Cat is an amphibian"
|
||||
And I log out
|
||||
And I log in as "student1"
|
||||
|
@ -253,7 +253,7 @@ Feature: Lesson group override
|
|||
And I log in as "student2"
|
||||
And I am on "Course 1" course homepage
|
||||
And I follow "Test lesson name"
|
||||
Then the activity date in "Test lesson name" should contain "Opens: Tuesday, 1 January 2030, 8:00 AM"
|
||||
Then the activity date in "Test lesson name" should contain "Opens: Tuesday, 1 January 2030, 8:00"
|
||||
And I should not see "Cat is an amphibian"
|
||||
And I log out
|
||||
And I log in as "student1"
|
||||
|
@ -346,17 +346,17 @@ Feature: Lesson group override
|
|||
Then I log in as "student1"
|
||||
And I am on "Course 1" course homepage
|
||||
And I follow "Test lesson name"
|
||||
And the activity date in "Test lesson name" should contain "Opens: Wednesday, 1 January 2031, 8:00 AM"
|
||||
And the activity date in "Test lesson name" should contain "Opens: Wednesday, 1 January 2031, 8:00"
|
||||
And I log out
|
||||
And I log in as "student2"
|
||||
And I am on "Course 1" course homepage
|
||||
And I follow "Test lesson name"
|
||||
And the activity date in "Test lesson name" should contain "Opens: Sunday, 1 January 2040, 8:00 AM"
|
||||
And the activity date in "Test lesson name" should contain "Opens: Sunday, 1 January 2040, 8:00"
|
||||
And I log out
|
||||
And I log in as "student3"
|
||||
And I am on "Course 1" course homepage
|
||||
And I follow "Test lesson name"
|
||||
And the activity date in "Test lesson name" should contain "Opens: Tuesday, 1 January 2030, 8:00 AM"
|
||||
And the activity date in "Test lesson name" should contain "Opens: Tuesday, 1 January 2030, 8:00"
|
||||
|
||||
Scenario: Override a group when teacher is in no group, and does not have accessallgroups permission, and the activity's group mode is 'separate groups'
|
||||
Given the following "permission overrides" exist:
|
||||
|
|
|
@ -211,7 +211,7 @@ Feature: Lesson user override
|
|||
And I am on "Course 1" course homepage
|
||||
And I follow "Test lesson name"
|
||||
And I wait until the page is ready
|
||||
Then the activity date in "Test lesson name" should contain "Closed: Saturday, 1 January 2000, 8:00 AM"
|
||||
Then the activity date in "Test lesson name" should contain "Closed: Saturday, 1 January 2000, 8:00"
|
||||
And I should not see "Cat is an amphibian"
|
||||
And I log out
|
||||
And I log in as "student1"
|
||||
|
@ -250,7 +250,7 @@ Feature: Lesson user override
|
|||
And I am on "Course 1" course homepage
|
||||
And I follow "Test lesson name"
|
||||
And I wait until the page is ready
|
||||
Then the activity date in "Test lesson name" should contain "Opens: Tuesday, 1 January 2030, 8:00 AM"
|
||||
Then the activity date in "Test lesson name" should contain "Opens: Tuesday, 1 January 2030, 8:00"
|
||||
And I should not see "Cat is an amphibian"
|
||||
And I log out
|
||||
And I log in as "student1"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue