mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-16 10:59:56 +00:00
f850ddf73b
All other repositories have tests in “tests” folder. For more information see: http://lists.wikimedia.org/pipermail/qa/2014-July/001663.html http://lists.wikimedia.org/pipermail/qa/2014-July/001667.html http://lists.wikimedia.org/pipermail/qa/2014-July/001672.html Change-Id: Ib1e4fa4b7203bd8217615db1ceac23a329c081f1
24 lines
1.1 KiB
Gherkin
24 lines
1.1 KiB
Gherkin
@chrome @firefox @login
|
|
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 Headings interface
|
|
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" |
|