mediawiki-extensions-Visual.../modules/ve-mw/test/browser/features/indent_outdent.feature
cmcmahon c416e78dcf [browser test] Indent outdent test now uses the API
And re-enabled for Chrome also

Change-Id: I8e4182d25f238c987a6c47088bb302ad33d9cec6
2014-05-07 14:36:05 -07:00

23 lines
951 B
Gherkin

@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 |