mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 16:44:51 +00:00
1a16b5aa9e
Get rid of all hard-coded values for both the target page and also the text on the target page, which is now all set in the .feature file. Note that we're deconstructing the @make_selectable hook by doing this. @make_selectable may become obsolete when all the tests are refactored to use APIPage Change-Id: Iad1b160d9d0274effb8504f276bd4816932d299c
43 lines
1.5 KiB
Gherkin
43 lines
1.5 KiB
Gherkin
@en.wikipedia.beta.wmflabs.org @firefox @login @test2.wikipedia.org
|
|
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
|
|
|
|
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 click Decrease indentation
|
|
Examples:
|
|
| control | character |
|
|
| Numbering | ## |
|
|
| Bullets | ** |
|
|
|
|
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 |
|