mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 14:56:20 +00:00
966f2f7bbb
To get at least some Cucumber scenarios running in Jenkins, disable all of them that are failing and run only ones that are passing. The next step will be to fix failing scenarios. Bug: T94162 Change-Id: Id0338c1d6b86d6b45220c5c0802074be397fb607
23 lines
1.1 KiB
Gherkin
23 lines
1.1 KiB
Gherkin
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" |
|