[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

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

   1  @editor @editor_atto @atto @atto_bold @_bug_phantomjs
   2  Feature: Atto bold button
   3    To format text in Atto, I need to use the bold button.
   4  
   5    @javascript
   6    Scenario: Bold 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 "Badger"
  11      And I select the text in the "Description" Atto editor
  12      When I click on "Bold" "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 "<b>Badger</b>"
  20  
  21    @javascript
  22    Scenario: Unbold 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 "Mouse"
  27      And I select the text in the "Description" Atto editor
  28      When I click on "Bold" "button"
  29      And I click on "Bold" "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 "<b>Mouse</b>"
  37      And I should see "Mouse"


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