mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 06:46:26 +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.2 KiB
Gherkin
24 lines
1.2 KiB
Gherkin
@chrome @en.wikipedia.beta.wmflabs.org @firefox @login @test2.wikipedia.org
|
|
Feature: VisualEditor general text markup features
|
|
|
|
Background:
|
|
Given I go to the "General Markup VisualEditor Test" page with content "General Markup VisualEditor Test"
|
|
And I make the text "General Markup VisualEditor Test" be selected
|
|
|
|
Scenario Outline: VisualEditor general markup
|
|
When I click the text style menu
|
|
And I click the <type_of_markup> menu option
|
|
And I click Save page
|
|
And I click Review your changes
|
|
Then <expected_markup_text> should appear in the diff view
|
|
And I can click the X on the save box
|
|
Examples:
|
|
| type_of_markup | expected_markup_text |
|
|
| Bold | '''General Markup VisualEditor Test''' |
|
|
| Computer Code | <code>General Markup VisualEditor Test</code> |
|
|
| Italics | ''General Markup VisualEditor Test'' |
|
|
| Strikethrough | <s>General Markup VisualEditor Test</s> |
|
|
| Subscript | <sub>General Markup VisualEditor Test</sub> |
|
|
| Superscript | <sup>General Markup VisualEditor Test</sup> |
|
|
| Underline | <u>General Markup VisualEditor Test</u> |
|