MDL-56630 behat: Click on link in specificed block/region

This commit is contained in:
Rajesh Taneja 2016-11-08 14:38:48 +08:00
parent 1fd6b25579
commit dc90838aaa
No known key found for this signature in database
GPG key ID: B363F7FB787F80E4
55 changed files with 216 additions and 183 deletions

View file

@ -32,7 +32,7 @@ Feature: Backup and restore of quizzes
And I duplicate "Quiz 1" activity editing the new copy with:
| Name | Quiz 2 |
And I follow "Quiz 2"
And I follow "Edit quiz"
And I click on "Edit quiz" "link" in the "Administration" "block"
Then I should see "TF1"
And I should see "TF2"
@ -46,6 +46,6 @@ Feature: Backup and restore of quizzes
And I press "Save changes"
And I restore "moodle_28_quiz.mbz" backup into "Course 1" course using this options:
And I follow "Restored Moodle 2.8 quiz"
And I follow "Edit quiz"
And I click on "Edit quiz" "link" in the "Administration" "block"
Then I should see "TF1"
And I should see "TF2"