mediawiki-extensions-Visual.../modules/ve-mw/tests/browser/features/indent_outdent.feature

22 lines
875 B
Gherkin
Raw Normal View History

Feature: VisualEditor Indent, Outdent
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
Then Decrease indentation should be disabled
And Increase indentation should be disabled
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 |
| Numbering | enabled | disabled |