source: moodle/trunk/fuentes/lib/editor/atto/plugins/clear/tests/behat/clear.feature @ 1331

Last change on this file since 1331 was 1331, checked in by jrpelegrina, 3 years ago

Updated to moodle 3.0.3

File size: 863 bytes
Line 
1@editor @editor_atto @atto @atto_clear @_bug_phantomjs
2Feature: Atto clear button
3  To format text in Atto, I need to remove formatting
4
5  @javascript
6  Scenario: Clear formatting
7    Given I log in as "admin"
8    And I follow "Profile" in the user menu
9    And I follow "Edit profile"
10    And I set the field "Description" to "Pisa"
11    And I select the text in the "Description" Atto editor
12    And I click on "Italic" "button"
13    And I click on "Show more buttons" "button"
14    And I select the text in the "Description" Atto editor
15    When I click on "Clear formatting" "button"
16    And I press "Update profile"
17    And I follow "Preferences" in the user menu
18    And I follow "Editor preferences"
19    And I set the field "Text editor" to "Plain text area"
20    And I press "Save changes"
21    And I follow "Edit profile"
22    Then I should not see "<i>Pisa"
23
Note: See TracBrowser for help on using the repository browser.