mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-16 10:59:56 +00:00
fcffffbb99
Using @edit_user_page hook is a workaround that avoids the problem where Selenium brings up Firefox with the cursor in the address bar Change-Id: Iba42cbb74378952760db3db68130ac74219cde9b
18 lines
954 B
Gherkin
18 lines
954 B
Gherkin
@edit_user_page @en.wikipedia.beta.wmflabs.org @firefox @login @test2.wikipedia.org
|
|
Feature: VisualEditor Media Interface
|
|
|
|
Scenario Outline: VisualEditor insert new media
|
|
Given I click Media
|
|
And I enter <search_term> into media Search box
|
|
And I select an Image
|
|
When I click Save page
|
|
And I click Links Review your changes
|
|
Then <expected_markup_text> should appear in the media diff view
|
|
And I can click the X on the media save box
|
|
Examples:
|
|
| search_term | expected_markup_text |
|
|
| San Francisco | [[File:California county map (San Francisco County highlighted).svg\|thumb\|150x150px]] |
|
|
| Flash video | [[File:Flash video file icon.png\|thumb\|32x32px]] |
|
|
| cunfrunti | [[File:Cunfrunti.mpg.OGG\|thumb\|183x183px]] |
|
|
|