Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
@editor @editor_atto @atto @atto_indent
2
Feature: 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 click on "Edit profile" "link" in the "region-main" "region"
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 click on "Edit profile" "link" in the "region-main" "region"
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 open my profile in edit mode
26
    And I set the field "Description" to "<p>I need some space.</p>"
27
    And I select the text in the "Description" Atto editor
28
    And I click on "Show more buttons" "button"
29
    And I click on "Indent" "button"
30
    And I click on "Outdent" "button"
31
    And I press "Update profile"
32
    And I follow "Preferences" in the user menu
33
    And I follow "Editor preferences"
34
    And I set the field "Text editor" to "Plain text area"
35
    And I press "Save changes"
36
    And I click on "Edit profile" "link" in the "region-main" "region"
37
    Then I should not see "class=\"editor-indent\""