mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-16 02:51:50 +00:00
d35cc1e573
Also removed some duplicated code and added test cases for bold and italic styling. Change-Id: I181c208dd1165ea52bd4c49eb00c2eaae41ef05f
20 lines
951 B
Gherkin
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> | |