diff --git a/lib/editor/atto/plugins/subscript/tests/behat/subscript.feature b/lib/editor/atto/plugins/subscript/tests/behat/subscript.feature
index 1a10396c7f5..3a48f838f7f 100644
--- a/lib/editor/atto/plugins/subscript/tests/behat/subscript.feature
+++ b/lib/editor/atto/plugins/subscript/tests/behat/subscript.feature
@@ -18,17 +18,16 @@ Feature: Atto subscript button
@javascript
Scenario: Subscript some text in enclosed in superscript
Given I log in as "admin"
- And I follow "Profile" in the user menu
+ And I follow "My profile" in the user menu
And I follow "Edit profile"
And I set the field "Description" to "Submarine"
And I select the text in the "Description" Atto editor
And I click on "Show more buttons" "button"
When I click on "Subscript" "button"
And I press "Update profile"
- And I follow "Preferences" in the user menu
- And I follow "Editor preferences"
+ And I follow "Edit profile"
And I set the field "Text editor" to "Plain text area"
- And I press "Save changes"
+ And I press "Update profile"
And I follow "Edit profile"
Then I should see "Submarine"