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_subscript @_bug_phantomjs
2
Feature: Atto subscript button
3
  To format text in Atto, I need to use the subscript button.
4
 
5
  @javascript
6
  Scenario: Subscript some text
7
    Given I log in as "admin"
8
    And I open my profile in edit mode
9
    And I set the field "Description" to "Submarine"
10
    And I select the text in the "Description" Atto editor
11
    And I click on "Show more buttons" "button"
12
    When I click on "Subscript" "button"
13
    And I press "Update profile"
14
    And I follow "Preferences" in the user menu
15
    And I follow "Editor preferences"
16
    And I set the field "Text editor" to "Plain text area"
17
    And I press "Save changes"
18
    And I click on "Edit profile" "link" in the "region-main" "region"
19
    Then I should see "<sub>Submarine</sub>"
20
 
21
  @javascript
22
  Scenario: Subscript some text in enclosed in superscript
23
    Given I log in as "admin"
24
    And I open my profile in edit mode
25
    And I set the field "Description" to "<sup>Submarine</sup>"
26
    And I select the text in the "Description" Atto editor
27
    And I click on "Show more buttons" "button"
28
    When I click on "Subscript" "button"
29
    And I press "Update profile"
30
    And I follow "Preferences" in the user menu
31
    And I follow "Editor preferences"
32
    And I set the field "Text editor" to "Plain text area"
33
    And I press "Save changes"
34
    And I click on "Edit profile" "link" in the "region-main" "region"
35
    Then I should see "<sub>Submarine</sub>"