mediawiki-extensions-Visual.../modules/ve-mw/tests/browser/features/indent_outdent.feature
Željko Filipin 60a08f925c [BrowserTest] Fix ve.init is undefined error messages in Selenium tests
All scenarios that are passing are enabled to run in Jenkins.
(The commit increases the number of passing scenarios from 2 to 18.)

Bug: T126966
Change-Id: I9789ca42717133120197c4625bb8dad4ea496aa8
2016-02-18 15:42:05 +01:00

23 lines
915 B
Gherkin

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