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

23 lines
951 B
Gherkin
Raw Normal View History

@chrome @en.wikipedia.beta.wmflabs.org @firefox @login @test2.wikipedia.org
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 |