source: moodle/trunk/fuentes/lib/editor/atto/plugins/indent/tests/behat/indent.feature @ 136

Last change on this file since 136 was 136, checked in by mabarracus, 3 years ago

Ported code to xenial

File size: 1.2 KB
Line 
1@editor @editor_atto @atto @atto_indent
2Feature: Indent text in Atto
3  To write rich text - I need to indent and outdent things.
4
5  @javascript
6  Scenario: Indent
7    Given I log in as "admin"
8    When I navigate to "Edit profile" node in "My profile settings"
9    And I set the field "Description" to "<p>I need some space.</p>"
10    And I set the field "Text editor" to "Plain text area"
11    And I select the text in the "Description" Atto editor
12    And I click on "Show more buttons" "button"
13    And I click on "Indent" "button"
14    And I press "Update profile"
15    And I follow "Edit profile"
16    Then I should see "class=\"editor-indent\""
17
18  @javascript
19  Scenario: Indent and outdent
20    Given I log in as "admin"
21    When I navigate to "Edit profile" node in "My profile settings"
22    And I set the field "Description" to "<p>I need some space.</p>"
23    And I set the field "Text editor" to "Plain text area"
24    And I select the text in the "Description" Atto editor
25    And I click on "Show more buttons" "button"
26    And I click on "Indent" "button"
27    And I click on "Outdent" "button"
28    And I press "Update profile"
29    And I follow "Edit profile"
30    Then I should not see "class=\"editor-indent\""
Note: See TracBrowser for help on using the repository browser.