mediawiki-extensions-Visual.../modules/ve-mw/test/browser/features/general_markup.feature
jhall d35cc1e573 [Browser test] Update to use new text styling menu
Also removed some duplicated code and
added test cases for bold and italic styling.

Change-Id: I181c208dd1165ea52bd4c49eb00c2eaae41ef05f
2013-12-12 10:37:48 -05:00

20 lines
951 B
Gherkin

@ie6-bug @ie7-bug @ie8-bug @ie9-bug @ie10-bug @en.wikipedia.beta.wmflabs.org @test2.wikipedia.org @login
Feature: VisualEditor general text markup features
@make_selectable_line
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 | '''This is a new line''' |
| Computer Code | <code>This is a new line</code> |
| Italics | ''This is a new line'' |
| Strikethrough | <s>This is a new line</s> |
| Subscript | <sub>This is a new line</sub> |
| Superscript | <sup>This is a new line</sup> |
| Underline | <u>This is a new line</u> |