[ Index ]

PHP Cross Reference of moodle-2.8

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 navigate to "Edit profile" node in "My profile settings"
   9      And I set the field "Text editor" to "Plain text area"
  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 "Edit profile"
  15      Then I should see "<b>Badger</b>"
  16  
  17    @javascript
  18    Scenario: Unbold some text
  19      Given I log in as "admin"
  20      And I navigate to "Edit profile" node in "My profile settings"
  21      And I set the field "Text editor" to "Plain text area"
  22      And I set the field "Description" to "Mouse"
  23      And I select the text in the "Description" Atto editor
  24      When I click on "Bold" "button"
  25      And I click on "Bold" "button"
  26      And I press "Update profile"
  27      And I follow "Edit profile"
  28      Then I should not see "<b>Mouse</b>"
  29      And I should see "Mouse"


Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1