source: moodle/trunk/fuentes/lib/editor/atto/plugins/indent/tests/behat/indent.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: 1.4 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    And I follow "Profile" in the user menu
9    When I follow "Edit profile"
10    And I set the field "Description" to "<p>I need some space.</p>"
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 "Preferences" in the user menu
16    And I follow "Editor preferences"
17    And I set the field "Text editor" to "Plain text area"
18    And I press "Save changes"
19    And I follow "Edit profile"
20    Then I should see "class=\"editor-indent\""
21
22  @javascript
23  Scenario: Indent and outdent
24    Given I log in as "admin"
25    And I follow "Profile" in the user menu
26    When I follow "Edit profile"
27    And I set the field "Description" to "<p>I need some space.</p>"
28    And I select the text in the "Description" Atto editor
29    And I click on "Show more buttons" "button"
30    And I click on "Indent" "button"
31    And I click on "Outdent" "button"
32    And I press "Update profile"
33    And I follow "Preferences" in the user menu
34    And I follow "Editor preferences"
35    And I set the field "Text editor" to "Plain text area"
36    And I press "Save changes"
37    And I follow "Edit profile"
38    Then I should not see "class=\"editor-indent\""
Note: See TracBrowser for help on using the repository browser.