mediawiki-extensions-Visual.../modules/ve-mw/tests/browser/features/headings.feature
Željko Filipin 58049b0c2c [BrowserTest] Migration of browsertests* Jenkins jobs to selenium* jobs
selenium* jobs are a new way of running Ruby based Selenium tests. The
jobs are triggered daily.

Bug: T128190
Change-Id: I11554b23a0e347736a67766f8c0b9879d5a6bed9
2016-04-26 12:40:45 +02:00

24 lines
1.1 KiB
Gherkin

@en.wikipedia.beta.wmflabs.org @firefox @skip
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" |