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_unorderedlist @_bug_phantomjs
2
Feature: Atto unordered list button
3
  To format text in Atto, I need to use the unordered list button.
4
 
5
  @javascript
6
  Scenario: Make a list from 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 "Things, dogs, clogs, they're awesome<br/> Rocks, clocks, and socks, they're awesome<br/> Figs, and wigs, and twigs, that's awesome<br/> Everything you see or think or say is awesome"
10
    And I select the text in the "Description" Atto editor
11
    When I click on "Unordered list" "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 "//textarea[@id='id_description_editor'][starts-with(text(), '<ul><li>') and contains(normalize-space(.), 'Things, dogs, clogs')]" "xpath_element" should exist