2013-09-27 17:49:51 +00:00
|
|
|
Feature: VisualEditor Indent, Outdent
|
2013-09-27 16:07:56 +00:00
|
|
|
|
2014-05-07 21:35:31 +00:00
|
|
|
Background:
|
|
|
|
Given I go to the "Indent Outdent VisualEditor Test" page with content "Indent Outdent VisualEditor Test"
|
|
|
|
And I make the text "Indent Outdent" be selected
|
|
|
|
|
|
|
|
Scenario: Check indentation controls disabled by default
|
2013-09-27 16:07:56 +00:00
|
|
|
Then Decrease indentation should be disabled
|
|
|
|
And Increase indentation should be disabled
|
|
|
|
|
2013-09-27 17:49:51 +00:00
|
|
|
Scenario Outline: check indent and outdent enable and disable
|
|
|
|
When I click <control>
|
|
|
|
Then Decrease indentation should be <initial_state>
|
|
|
|
And Increase indentation should be <initial_state>
|
|
|
|
And I undo <control>
|
|
|
|
And Decrease indentation should be <final_state>
|
|
|
|
And Increase indentation should be <final_state>
|
|
|
|
Examples:
|
|
|
|
| control | initial_state | final_state |
|
|
|
|
| Bullets | enabled | disabled |
|
2013-10-02 15:43:46 +00:00
|
|
|
| Numbering | enabled | disabled |
|