MDL-30811 core: Fix tests where continue button has been removed
authorAndrew Nicols <andrew@nicols.co.uk>
Tue, 16 Feb 2016 01:27:59 +0000 (09:27 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Mon, 29 Feb 2016 01:05:58 +0000 (09:05 +0800)
my/tests/behat/reset_all_pages.feature
tag/tests/behat/flag_tags.feature

index 3e9664e..d995f51 100644 (file)
@@ -66,7 +66,7 @@ Feature: Reset all personalised pages to default
     And I log in as "admin"
     And I navigate to "Default Dashboard page" node in "Site administration > Appearance"
     When I press "Reset Dashboard for all users"
-    And I follow "Continue"
+    And I should see "All Dashboard pages have been reset to default."
     And I log out
 
     And I log in as "student1"
@@ -108,7 +108,7 @@ Feature: Reset all personalised pages to default
     And I log in as "admin"
     And I navigate to "Default profile page" node in "Site administration > Appearance"
     When I press "Reset profile for all users"
-    And I follow "Continue"
+    And I should see "All profile pages have been reset to default."
     And I log out
 
     And I log in as "student2"
index 966abee..74231be 100644 (file)
@@ -29,13 +29,11 @@ Feature: Users can flag tags and manager can reset flags
     And I follow "Badtag"
     And I follow "Flag as inappropriate"
     And I should see "The person responsible will be notified"
-    And I follow "Continue"
     And I navigate to "Participants" node in "Site pages"
     And I follow "User 1"
     And I follow "Sweartag"
     And I follow "Flag as inappropriate"
     And I should see "The person responsible will be notified"
-    And I follow "Continue"
     And I log out
     And I log in as "user3"
     And I navigate to "Participants" node in "Site pages"
@@ -43,7 +41,6 @@ Feature: Users can flag tags and manager can reset flags
     And I follow "Sweartag"
     And I follow "Flag as inappropriate"
     And I should see "The person responsible will be notified"
-    And I follow "Continue"
     And I log out
 
   Scenario: Managing tag flags with javascript disabled