2016-04-06 16:21:59 +00:00
|
|
|
@en.wikipedia.beta.wmflabs.org @firefox @skip
|
2013-11-19 21:42:07 +00:00
|
|
|
Feature: VisualEditor general text markup features
|
|
|
|
|
2014-05-06 17:31:28 +00:00
|
|
|
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
|
|
|
|
|
2013-11-19 21:42:07 +00:00
|
|
|
Scenario Outline: VisualEditor general markup
|
2013-12-12 15:37:48 +00:00
|
|
|
When I click the text style menu
|
2015-10-14 15:10:13 +00:00
|
|
|
And I click the <type_of_markup> menu option
|
|
|
|
And I click Save page
|
|
|
|
And I click Review your changes
|
2013-11-19 21:42:07 +00:00
|
|
|
Then <expected_markup_text> should appear in the diff view
|
2015-10-14 15:10:13 +00:00
|
|
|
And I can click the X on the save box
|
2013-11-19 21:42:07 +00:00
|
|
|
Examples:
|
2014-05-06 17:31:28 +00:00
|
|
|
| type_of_markup | expected_markup_text |
|
|
|
|
| Bold | '''General Markup VisualEditor Test''' |
|
|
|
|
| Italics | ''General Markup VisualEditor Test'' |
|
2014-11-03 20:56:58 +00:00
|
|
|
|
|
|
|
Scenario Outline: VisualEditor more general markup
|
|
|
|
When I click the text style menu
|
|
|
|
And I click the More option
|
2015-10-14 15:10:13 +00:00
|
|
|
And I click the <type_of_markup> menu option
|
|
|
|
And I click Save page
|
|
|
|
And I click Review your changes
|
2014-11-03 20:56:58 +00:00
|
|
|
Then <expected_markup_text> should appear in the diff view
|
2015-10-14 15:10:13 +00:00
|
|
|
And I can click the X on the save box
|
2014-11-03 20:56:58 +00:00
|
|
|
Examples:
|
|
|
|
| type_of_markup | expected_markup_text |
|
|
|
|
| Computer Code | <code>General Markup VisualEditor Test</code> |
|
2014-05-06 17:31:28 +00:00
|
|
|
| Strikethrough | <s>General Markup VisualEditor Test</s> |
|
|
|
|
| Subscript | <sub>General Markup VisualEditor Test</sub> |
|
|
|
|
| Superscript | <sup>General Markup VisualEditor Test</sup> |
|
2016-02-11 12:12:53 +00:00
|
|
|
| Underline | <u>General Markup VisualEditor Test</u> |
|