MOBILE-4470 behat: Fix calendar tests
They were failing because behat transformations uses 'June' for %b, while the app uses 'Jun' for abbreviated monthsmain
parent
188808d41e
commit
32f78bfa49
|
@ -26,9 +26,8 @@ Feature: Test creation of calendar events in app
|
|||
When I press "More" in the app
|
||||
And I press "Calendar" in the app
|
||||
And I press "New event" in the app
|
||||
Then I should find "## now ##%b %e, %Y##" in the app
|
||||
# Flaky step, sometimes it fails due to minute change when checking.
|
||||
And I should find "## now ##%l:%M %p##" in the app
|
||||
Then the field "Date" matches value "## now ##%Y-%m-%dT%H:%M##" in the app
|
||||
And I should not be able to press "Save" in the app
|
||||
|
||||
# Check that student can only create User events.
|
||||
|
|
Loading…
Reference in New Issue