2013-08-28 13:02:52 +00:00
|
|
|
Feature: VisualEditor Headings
|
|
|
|
|
2014-05-07 20:26:56 +00:00
|
|
|
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
|
|
|
|
|
2013-09-25 17:11:03 +00:00
|
|
|
Scenario Outline: Cycle through headings values
|
2015-01-26 06:56:24 +00:00
|
|
|
When I click the down arrow on the Headings menu
|
2013-09-25 17:11:03 +00:00
|
|
|
And I click <headings_interface_name>
|
2013-08-28 13:02:52 +00:00
|
|
|
And I click Save page
|
|
|
|
And I click Review your changes
|
2013-09-25 17:11:03 +00:00
|
|
|
Then <headings_string> should appear in the diff view
|
2013-10-08 22:38:04 +00:00
|
|
|
And I can click the X on the save box
|
2013-09-25 17:11:03 +00:00
|
|
|
Examples:
|
2014-05-07 20:26:56 +00:00
|
|
|
| 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" |
|