mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-25 20:43:01 +00:00
896c8b5d5f
Change-Id: I8a50bdf1c49d80ec89c1d87d2a4e353f0aa1a3f9
24 lines
1.2 KiB
Gherkin
24 lines
1.2 KiB
Gherkin
@chrome @en.wikipedia.beta.wmflabs.org @firefox @internet_explorer_10 @safari @test2.wikipedia.org
|
|
Feature: VisualEditor Headings
|
|
|
|
Background:
|
|
Given I go to the "Headings VisualEditor Test" page with content "Headings VisualEditor Test"
|
|
And I make the text "Headings VisualEditor Test" be selected
|
|
|
|
Scenario Outline: Cycle through headings values
|
|
When I click the down arrow on the Headings menu
|
|
And I click <headings_interface_name>
|
|
And I click Save page
|
|
And I click Review your changes
|
|
Then <headings_string> should appear in the diff view
|
|
And I can click the X on the save box
|
|
Examples:
|
|
| headings_interface_name | headings_string |
|
|
| Heading | "^== Headings VisualEditor Test" |
|
|
| Subheading1 | "^=== Headings VisualEditor Test" |
|
|
| Subheading2 | "^==== Headings VisualEditor Test" |
|
|
| Subheading3 | "^===== Headings VisualEditor Test" |
|
|
| Subheading4 | "^====== Headings VisualEditor Test" |
|
|
| Preformatted | " Headings VisualEditor Test" |
|
|
| Page title | "^= Headings VisualEditor Test" |
|