[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

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

   1  @editor @editor_atto @atto
   2  Feature: Atto editor with customised toolbar
   3    In order to develop plugins that use Atto for specialised purposes
   4    As a developer
   5    I need to be able to configure Atto toolbar per-instance to include different plugins
   6  
   7    Background:
   8      # Get to the fixture page.
   9      Given the following "courses" exist:
  10        | fullname | shortname | format |
  11        | Course 1 | C1        | topics |
  12      And the following "activities" exist:
  13        | activity   | name | intro                                                                                  | course | idnumber |
  14        | label      | L1   | <a href="../lib/editor/atto/tests/fixtures/custom_toolbar_example.php">FixtureLink</a> | C1     | label1   |
  15      When I log in as "admin"
  16      And I am on site homepage
  17      And I follow "Course 1"
  18      And I follow "FixtureLink"
  19  
  20    @javascript
  21    Scenario: Confirm that both editors have different toolbars but still function
  22      Then ".atto_link_button" "css_element" should exist in the ".normaldiv" "css_element"
  23      And ".atto_link_button" "css_element" should not exist in the ".specialdiv" "css_element"
  24      And ".atto_bold_button_bold" "css_element" should exist in the ".normaldiv" "css_element"
  25      And ".atto_italic_button_italic" "css_element" should exist in the ".normaldiv" "css_element"
  26      And ".atto_bold_button_bold" "css_element" should exist in the ".specialdiv" "css_element"
  27      And ".atto_italic_button_italic" "css_element" should exist in the ".specialdiv" "css_element"


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