diff --git a/admin/tool/policy/tests/behat/consent.feature b/admin/tool/policy/tests/behat/consent.feature index d345b238b5f..2b9b026bc8d 100644 --- a/admin/tool/policy/tests/behat/consent.feature +++ b/admin/tool/policy/tests/behat/consent.feature @@ -364,7 +364,7 @@ Feature: User must accept policy managed by this plugin when logging in and sign And I log out # Create new policy document. And I log in as "admin" - And I navigate to "Manage policies" node in "Site administration > Privacy and policies" + And I navigate to "Manage policies" node in "Site administration > Users > Privacy and policies" And I should see "Policies and agreements" And I should see "New policy" And I follow "New policy" @@ -419,7 +419,7 @@ Feature: User must accept policy managed by this plugin when logging in and sign And I log out # Create new version of the policy document. And I log in as "admin" - And I navigate to "Manage policies" node in "Site administration > Privacy and policies" + And I navigate to "Manage policies" node in "Site administration > Users > Privacy and policies" When I follow "Actions" Then I should see "View" And I should see "Edit" diff --git a/auth/tests/behat/displayloginfailures.feature b/auth/tests/behat/displayloginfailures.feature index 50b9ec63c26..4b6e2a9d21e 100644 --- a/auth/tests/behat/displayloginfailures.feature +++ b/auth/tests/behat/displayloginfailures.feature @@ -25,11 +25,11 @@ Feature: Test the 'showlogfailures' feature works. And I set the field "Password" to "teacher1" And I press "Log in" # Confirm the notices are displayed. - Then I should see "1 failed logins since your last login" in the "nav.navbar" "css_element" + Then I should see "1 failed logins since your last login" in the ".navbar" "css_element" And I should see "1 failed logins since your last login" in the "page-footer" "region" # Confirm the notices disappear when navigating to another page. And I am on homepage - And I should not see "1 failed logins since your last login" in the "nav.navbar" "css_element" + And I should not see "1 failed logins since your last login" in the ".navbar" "css_element" And I should not see "1 failed logins since your last login" in the "page-footer" "region" # Given the user has at least one failed login attempt, when they login, then they should see both header and footer notices. @@ -46,10 +46,10 @@ Feature: Test the 'showlogfailures' feature works. And I set the field "Password" to "admin" And I press "Log in" # Confirm the notices are displayed. - Then I should see "1 failed logins since your last login" in the "nav.navbar" "css_element" + Then I should see "1 failed logins since your last login" in the ".navbar" "css_element" And I should see "1 failed logins since your last login (Logs)" in the "page-footer" "region" # Confirm that the link works and that the notices disappear when navigating to another page. And I click on "Logs" "link" in the "page-footer" "region" And I should see "User login failed" in the "table.reportlog" "css_element" - And I should not see "1 failed logins since your last login" in the "nav.navbar" "css_element" + And I should not see "1 failed logins since your last login" in the ".navbar" "css_element" And I should not see "1 failed logins since your last login (Logs)" in the "page-footer" "region" diff --git a/auth/tests/behat/validateagedigitalconsentmap.feature b/auth/tests/behat/validateagedigitalconsentmap.feature index 9fe1753e427..7381991045f 100644 --- a/auth/tests/behat/validateagedigitalconsentmap.feature +++ b/auth/tests/behat/validateagedigitalconsentmap.feature @@ -6,7 +6,7 @@ Feature: Test validation of 'Age of digital consent' setting. Background: Given I log in as "admin" - And I navigate to "Privacy settings" node in "Site administration > Privacy and policies" + And I navigate to "Privacy settings" node in "Site administration > Users > Privacy and policies" Scenario: Admin provides valid value for 'Age of digital consent'. Given I set the field "s__agedigitalconsentmap" to multiline: diff --git a/backup/moodle2/tests/behat/import_multiple_times.feature b/backup/moodle2/tests/behat/import_multiple_times.feature index ccf6dd1713c..98d495f7b36 100644 --- a/backup/moodle2/tests/behat/import_multiple_times.feature +++ b/backup/moodle2/tests/behat/import_multiple_times.feature @@ -27,10 +27,10 @@ Feature: Import course's content's twice And I log in as "teacher1" Scenario: Import course's contents to another course - Given I am on "Course 2" course homepage with editing mode on + Given I am on "Course 2" course homepage And I should not see "Online users" And I should not see "Test quiz" - And I import "Course 1" course into "Course 2" course using this options: + And I import "Course 1" course into "Course 2" course using this options: And I am on "Course 2" course homepage And I should see "Online users" And I should see "Test quiz" diff --git a/user/tests/behat/view_participants.feature b/user/tests/behat/view_participants.feature index 5c6d4f80cdb..9ec26e41e07 100644 --- a/user/tests/behat/view_participants.feature +++ b/user/tests/behat/view_participants.feature @@ -270,7 +270,7 @@ Feature: View course participants Given I log in as "admin" And I am on "Course 1" course homepage And I navigate to course participants - When I navigate to "Enrolment methods" in current page administration + When I navigate to "Users > Enrolment methods" in current page administration And I click on "Disable" "link" in the "Manual enrolments" "table_row" Then I navigate to course participants And I should see "Not current" in the "student0x" "table_row"