[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/lib/editor/atto/plugins/italic/tests/behat/ -> italic.feature (source)

   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 follow "Profile" in the user menu
   9      And I follow "Edit profile"
  10      And I set the field "Description" to "Tower of Pisa"
  11      And I select the text in the "Description" Atto editor
  12      When I click on "Italic" "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 "<i>Tower of Pisa</i>"
  20  
  21    @javascript
  22    Scenario: Toggle italics in some text
  23      Given I log in as "admin"
  24      And I follow "Profile" in the user menu
  25      And I follow "Edit profile"
  26      And I set the field "Description" to "GHD - for hair"
  27      And I select the text in the "Description" Atto editor
  28      When I click on "Italic" "button"
  29      And I click on "Italic" "button"
  30      And I press "Update profile"
  31      And I follow "Preferences" in the user menu
  32      And I follow "Editor preferences"
  33      And I set the field "Text editor" to "Plain text area"
  34      And I press "Save changes"
  35      And I follow "Edit profile"
  36      Then I should not see "<i>GHD - for hair</i>"
  37      And I should see "GHD - for hair"


Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1