Skip to content

Commit

Permalink
MDL-39795 behat: Adapting features to consider spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
David Monllao committed May 27, 2013
1 parent e489df8 commit 0653761
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion backup/util/ui/tests/behat/restore_moodle2_courses.feature
Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions mod/lesson/tests/behat/time_limit.feature
Expand Up @@ -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"

0 comments on commit 0653761

Please sign in to comment.