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_italic @_bug_phantomjs
2
Feature: Atto italic button
3
  To format text in Atto, I need to use the italic button.
4
 
5
  @javascript
6
  Scenario: Italicise 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 "Tower of Pisa"
10
    And I select the text in the "Description" Atto editor
11
    When I click on "Italic" "button"
12
    And I press "Update profile"
13
    And I follow "Preferences" in the user menu
14
    And I follow "Editor preferences"
15
    And I set the field "Text editor" to "Plain text area"
16
    And I press "Save changes"
17
    And I click on "Edit profile" "link" in the "region-main" "region"
18
    Then I should see "<em>Tower of Pisa</em>"
19
 
20
  @javascript
21
  Scenario: Toggle italics in some text
22
    Given I log in as "admin"
23
    And I open my profile in edit mode
24
    And I set the field "Description" to "GHD - for hair"
25
    And I select the text in the "Description" Atto editor
26
    When I click on "Italic" "button"
27
    And I click on "Italic" "button"
28
    And I press "Update profile"
29
    And I follow "Preferences" in the user menu
30
    And I follow "Editor preferences"
31
    And I set the field "Text editor" to "Plain text area"
32
    And I press "Save changes"
33
    And I click on "Edit profile" "link" in the "region-main" "region"
34
    Then I should not see "<em>GHD - for hair</em>"
35
    And I should see "GHD - for hair"