MDL-39795 behat: Adapting features to consider spaces

This commit is contained in:
David Monllao 2013-05-27 14:23:45 +08:00
parent 9a1f4922bd
commit 69a397cd2c
2 changed files with 4 additions and 3 deletions

View File

@ -88,7 +88,7 @@ Feature: Restore Moodle 2 course backups
| id_startdate_year | 2020 |
| id_format | Weekly format |
And I press "Save changes"
And I should see "1 January - 7 January"
And I should see "1 January - 7 January"
And I should see "Test forum name"
And I follow "Edit settings"
And I expand all fieldsets

View File

@ -39,10 +39,11 @@ Feature: A teacher can set a time limit for a lesson
And I wait "3" seconds
And I should see "Time remaining"
And I press "Single button"
And I should see " 0:00:"
And I should see "0:00:"
And I should see "Warning: You have 1 minute or less to finish the lesson."
And I wait "60" seconds
And I press "Single button"
And I should see "Attention: You ran out of time for this lesson. Your last answer may not have counted if it was answered after the time was up."
And I should see "You ran out of time for this lesson."
And I should see "Your last answer may not have counted if it was answered after the time was up."
And I should see "Congratulations - end of lesson reached"
And I should not see "Single lesson page contents"