[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

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

   1  @editor @editor_atto @atto @atto_table @_bug_phantomjs
   2  Feature: Atto tables
   3    To format text in Atto, I need to create tables
   4  
   5    @javascript
   6    Scenario: Create a table
   7      Given I log in as "admin"
   8      And I am on homepage
   9      And I expand "My profile" node
  10      And I expand "Blogs" node
  11      And I follow "Add a new entry"
  12      And I set the field "Entry title" to "How to make a table"
  13      And I set the field "Blog entry body" to "Table test"
  14      And I select the text in the "Blog entry body" Atto editor
  15      And I click on "Show more buttons" "button"
  16      When I click on "Table" "button"
  17      And I set the field "Caption" to "Dinner"
  18      And I press "Create table"
  19      And I press "Save changes"
  20      Then ".blog_entry table caption" "css_element" should be visible
  21  
  22    @javascript
  23    Scenario: Edit a table
  24      Given I log in as "admin"
  25      And I am on homepage
  26      And I expand "My profile" node
  27      And I expand "Blogs" node
  28      And I follow "Add a new entry"
  29      And I set the field "Entry title" to "How to make a table"
  30      And I set the field "Blog entry body" to "<table><tr><td>Cell</td></tr></table>"
  31      And I select the text in the "Blog entry body" Atto editor
  32      And I click on "Show more buttons" "button"
  33      And I click on "Table" "button"
  34      And I click on "Edit table" "link"
  35      And I set the field "Caption" to "Dinner"
  36      And I press "Update table"
  37      And I press "Save changes"
  38      Then ".blog_entry table caption" "css_element" should be visible
  39  
  40  


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