source: moodle/trunk/fuentes/lib/editor/atto/plugins/unorderedlist/tests/behat/unorderedlist.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: 950 bytes
Line 
1@editor @editor_atto @atto @atto_unorderedlist @_bug_phantomjs
2Feature: 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 follow "Profile" in the user menu
9    And I follow "Edit profile"
10    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"
11    And I select the text in the "Description" Atto editor
12    When I click on "Unordered list" "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 follow "Edit profile"
19    Then I should see "<ul><li>Things, dogs, clogs"
20
Note: See TracBrowser for help on using the repository browser.