mediawiki-extensions-Visual.../modules/ve-mw/tests/browser/features/bullets.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

45 lines
1.5 KiB
Gherkin

Feature: VisualEditor Bullets, Numbering
Background:
Given I go to the "Bullets VisualEditor Test" page with content "Bullets VisualEditor Test"
And I make the text "Bullets VisualEditor Test" be selected
@en.wikipedia.beta.wmflabs.org @firefox
Scenario Outline: check strings for bullets and numbering
When I click <control>
And I click Save page
And I click Review your changes
Then a <character> is added in front of input string in the diff view
And I can click the X on the save box
Examples:
| control | character |
| Numbering | # |
| Bullets | * |
Scenario Outline: check increase indent for bullets and numbering
When I click <control>
And I click Increase indentation
And I click Save page
And I click Review your changes
Then a <character> is added in front of input string in the diff view
And I can click the X on the save box
And I can click Cancel save
And I click Decrease indentation
Examples:
| control | character |
| Numbering | ## |
| Bullets | ** |
@en.wikipedia.beta.wmflabs.org @firefox
Scenario Outline: check decrease indent for bullets and numbering
When I click <control>
And I click Decrease indentation
And I click Save page
And I click Review your changes
Then nothing is added in front of input string in the diff view
And I can click the X on the save box
Examples:
| control |
| Numbering |
| Bullets |