diff --git a/user/tests/behat/user_grade_navigation.feature b/user/tests/behat/user_grade_navigation.feature index 10a0440d35185..28d28bb13a512 100644 --- a/user/tests/behat/user_grade_navigation.feature +++ b/user/tests/behat/user_grade_navigation.feature @@ -81,7 +81,7 @@ Feature: The student can navigate to their grades page and user grade report. And I click on "Create this role" "button" And I navigate to "Browse list of users" node in "Site administration > Users > Accounts" And I follow "Student 1" - And I follow "Student 1's preferences" + And I click on "Preferences" "link" in the ".profile_tree" "css_element" And I follow "Assign roles relative to this user" And I follow "Parent" And I click on "//select[@id='addselect']/descendant::option[contains(., 'Parent 1 (parent1@example.com)')]" "xpath_element"