Files
moodle/lib/editor/atto/plugins/superscript/tests/behat/superscript.feature
T

18 lines
677 B
Gherkin

@editor @editor_atto @atto @atto_superscript @_bug_phantomjs
Feature: Atto superscript button
To format text in Atto, I need to use the 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 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 "Edit profile"
Then I should see "<sup>Helicopter</sup>"