MDL-49412 User Navigation: Behat fixes for editors

Part of MDL-45774
This commit is contained in:
Damyon Wiese
2015-04-10 17:18:24 +08:00
committed by Adrian Greeve
parent 6bdc788054
commit 5d25a2cbe9
23 changed files with 162 additions and 75 deletions
@@ -5,13 +5,17 @@ Feature: Atto superscript button
@javascript
Scenario: Subscript some text
Given I log in as "admin"
And I navigate to "Edit profile" node in "My profile settings"
And I follow "My profile" in the user menu
And I follow "Edit profile"
And I set the field "Description" to "Helicopter"
And I set the field "Text editor" to "Plain text area"
And I select the text in the "Description" Atto editor
And I click on "Show more buttons" "button"
When I click on "Superscript" "button"
And I press "Update profile"
And I follow "My preferences" in the user menu
And I follow "Editor preferences"
And I set the field "Text editor" to "Plain text area"
And I press "Save changes"
And I follow "Edit profile"
Then I should see "<sup>Helicopter</sup>"