[ Index ] |
PHP Cross Reference of moodle-2.8 |
[Summary view] [Print] [Text view]
1 @editor @editor_atto @atto @atto_align 2 Feature: Atto align text 3 To format text in Atto, I need to use the align buttons. 4 5 @javascript 6 Scenario: Right align some text 7 Given I log in as "admin" 8 And I navigate to "Edit profile" node in "My profile settings" 9 And I set the field "Description" to "<p>Fascism</p>" 10 And I set the field "Text editor" to "Plain text area" 11 And I click on "Show more buttons" "button" 12 And I select the text in the "Description" Atto editor 13 When I click on "Right align" "button" 14 And I press "Update profile" 15 And I follow "Edit profile" 16 Then I should see "style=\"text-align:right;\"" 17 18 @javascript 19 Scenario: Left align some text 20 Given I log in as "admin" 21 And I navigate to "Edit profile" node in "My profile settings" 22 And I set the field "Description" to "<p>Communism</p>" 23 And I set the field "Text editor" to "Plain text area" 24 And I click on "Show more buttons" "button" 25 And I select the text in the "Description" Atto editor 26 When I click on "Right align" "button" 27 And I click on "Left align" "button" 28 And I press "Update profile" 29 And I follow "Edit profile" 30 Then I should see "style=\"text-align:left;\"" 31 32 @javascript 33 Scenario: Center align some text 34 Given I log in as "admin" 35 And I navigate to "Edit profile" node in "My profile settings" 36 And I set the field "Description" to "<p>United Future</p>" 37 And I set the field "Text editor" to "Plain text area" 38 And I click on "Show more buttons" "button" 39 And I select the text in the "Description" Atto editor 40 When I click on "Center" "button" 41 And I press "Update profile" 42 And I follow "Edit profile" 43 Then I should see "style=\"text-align:center;\"" 44
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |