2014-04-18 15:33:12 +00:00
|
|
|
@en.wikipedia.beta.wmflabs.org @firefox @login @make_selectable_line @test2.wikipedia.org
|
2013-11-19 21:42:07 +00:00
|
|
|
Feature: VisualEditor general text markup features
|
|
|
|
|
|
|
|
Scenario Outline: VisualEditor general markup
|
2013-12-12 15:37:48 +00:00
|
|
|
When I click the text style menu
|
2013-11-19 21:42:07 +00:00
|
|
|
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 |
|
2013-12-12 15:37:48 +00:00
|
|
|
| Bold | '''This is a new line''' |
|
2013-11-19 21:42:07 +00:00
|
|
|
| Computer Code | <code>This is a new line</code> |
|
2013-12-12 15:37:48 +00:00
|
|
|
| Italics | ''This is a new line'' |
|
2013-11-19 21:42:07 +00:00
|
|
|
| Strikethrough | <s>This is a new line</s> |
|
|
|
|
| Subscript | <sub>This is a new line</sub> |
|
|
|
|
| Superscript | <sup>This is a new line</sup> |
|
2013-12-12 15:37:48 +00:00
|
|
|
| Underline | <u>This is a new line</u> |
|