[ Index ]

PHP Cross Reference of moodle-2.8

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 navigate to "Edit profile" node in "My profile settings"
   9      And I set the field "Description" to "Tower of Pisa"
  10      And I set the field "Text editor" to "Plain text area"
  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 "Edit profile"
  15      Then I should see "<i>Tower of Pisa</i>"
  16  
  17    @javascript
  18    Scenario: Toggle italics in 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 "Description" to "GHD - for hair"
  22      And I set the field "Text editor" to "Plain text area"
  23      And I select the text in the "Description" Atto editor
  24      When I click on "Italic" "button"
  25      And I click on "Italic" "button"
  26      And I press "Update profile"
  27      And I follow "Edit profile"
  28      Then I should not see "<i>GHD - for hair</i>"
  29      And I should see "GHD - for hair"


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