Scenario: Confirm that both editors have different toolbars but still function
Then ".atto_link_button" "css_element" should exist in the ".normaldiv" "css_element"
And ".atto_link_button" "css_element" should not exist in the ".specialdiv" "css_element"
- And ".atto_bold_button_bold" "css_element" should exist in the ".normaldiv" "css_element"
+ And ".atto_bold_button" "css_element" should exist in the ".normaldiv" "css_element"
- And ".atto_italic_button_italic" "css_element" should exist in the ".normaldiv" "css_element"
+ And ".atto_italic_button" "css_element" should exist in the ".normaldiv" "css_element"
- And ".atto_bold_button_bold" "css_element" should exist in the ".specialdiv" "css_element"
+ And ".atto_bold_button" "css_element" should exist in the ".specialdiv" "css_element"
- And ".atto_italic_button_italic" "css_element" should exist in the ".specialdiv" "css_element"
+ And ".atto_italic_button" "css_element" should exist in the ".specialdiv" "css_element"
When I set the field "mycontrol" to "Disable"
Then the "disabled" attribute of "button.atto_collapse_button" "css_element" should contain "disabled"
And the "disabled" attribute of "button.atto_title_button" "css_element" should contain "disabled"
- And the "disabled" attribute of "button.atto_bold_button_bold" "css_element" should contain "disabled"
+ And the "disabled" attribute of "button.atto_bold_button" "css_element" should contain "disabled"
- And the "disabled" attribute of "button.atto_italic_button_italic" "css_element" should contain "disabled"
+ And the "disabled" attribute of "button.atto_italic_button" "css_element" should contain "disabled"
And the "disabled" attribute of "button.atto_unorderedlist_button_insertUnorderedList" "css_element" should contain "disabled"
And the "disabled" attribute of "button.atto_orderedlist_button_insertOrderedList" "css_element" should contain "disabled"
And the "disabled" attribute of "button.atto_link_button" "css_element" should contain "disabled"
When I set the field "mycontrol" to "Enable"
Then "button.atto_collapse_button[disabled]" "css_element" should not exist
And "button.atto_title_button[disabled]" "css_element" should not exist
- And "button.atto_bold_button_bold[disabled]" "css_element" should not exist
+ And "button.atto_bold_button[disabled]" "css_element" should not exist
- And "button.atto_italic_button_italic[disabled]" "css_element" should not exist
+ And "button.atto_italic_button[disabled]" "css_element" should not exist
And "button.atto_unorderedlist_button_insertUnorderedList[disabled]" "css_element" should not exist
And "button.atto_orderedlist_button_insertOrderedList[disabled]" "css_element" should not exist
And "button.atto_link_button[disabled]" "css_element" should not exist