[ Index ] |
PHP Cross Reference of Unnamed Project |
[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 follow "Profile" in the user menu 9 And I follow "Edit profile" 10 And I set the field "Description" to "<p>Fascism</p>" 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 "Preferences" in the user menu 16 And I follow "Editor preferences" 17 And I set the field "Text editor" to "Plain text area" 18 And I press "Save changes" 19 And I follow "Edit profile" 20 Then I should see "style=\"text-align:right;\"" 21 22 @javascript 23 Scenario: Left align some text 24 Given I log in as "admin" 25 And I follow "Profile" in the user menu 26 And I follow "Edit profile" 27 And I set the field "Description" to "<p>Communism</p>" 28 And I click on "Show more buttons" "button" 29 And I select the text in the "Description" Atto editor 30 When I click on "Right align" "button" 31 And I click on "Left align" "button" 32 And I press "Update profile" 33 And I follow "Preferences" in the user menu 34 And I follow "Editor preferences" 35 And I set the field "Text editor" to "Plain text area" 36 And I press "Save changes" 37 And I follow "Edit profile" 38 Then I should see "style=\"text-align:left;\"" 39 40 @javascript 41 Scenario: Center align some text 42 Given I log in as "admin" 43 And I follow "Profile" in the user menu 44 And I follow "Edit profile" 45 And I set the field "Description" to "<p>United Future</p>" 46 And I click on "Show more buttons" "button" 47 And I select the text in the "Description" Atto editor 48 When I click on "Center" "button" 49 And I press "Update profile" 50 And I follow "Preferences" in the user menu 51 And I follow "Editor preferences" 52 And I set the field "Text editor" to "Plain text area" 53 And I press "Save changes" 54 And I follow "Edit profile" 55 Then I should see "style=\"text-align:center;\"" 56
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |