[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

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

   1  @editor @editor_atto @atto @atto_subscript @_bug_phantomjs
   2  Feature: Atto subscript button
   3    To format text in Atto, I need to use the subscript button.
   4  
   5    @javascript
   6    Scenario: Subscript 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 "Submarine"
  11      And I select the text in the "Description" Atto editor
  12      And I click on "Show more buttons" "button"
  13      When I click on "Subscript" "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 "<sub>Submarine</sub>"
  21  
  22    @javascript
  23    Scenario: Subscript some text in enclosed in superscript
  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 "<sup>Submarine</sup>"
  28      And I select the text in the "Description" Atto editor
  29      And I click on "Show more buttons" "button"
  30      When I click on "Subscript" "button"
  31      And I press "Update profile"
  32      And I follow "Preferences" in the user menu
  33      And I follow "Editor preferences"
  34      And I set the field "Text editor" to "Plain text area"
  35      And I press "Save changes"
  36      And I follow "Edit profile"
  37      Then I should see "<sub>Submarine</sub>"
  38  


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