2014-09-11 15:08:38 +00:00
|
|
|
@chrome @en.wikipedia.beta.wmflabs.org @firefox @internet_explorer_10 @login @safari @test2.wikipedia.org
|
2013-11-20 21:51:32 +00:00
|
|
|
Feature: VisualEditor Media Interface
|
|
|
|
|
2014-05-08 19:27:34 +00:00
|
|
|
Background:
|
|
|
|
Given I go to the "Media Interface VisualEditor Test" page with content "Media Interface VisualEditor Test"
|
|
|
|
And I click in the editable part
|
|
|
|
|
2013-11-20 21:51:32 +00:00
|
|
|
Scenario Outline: VisualEditor insert new media
|
2014-05-02 19:31:14 +00:00
|
|
|
Given I click Media
|
2013-11-20 21:51:32 +00:00
|
|
|
And I enter <search_term> into media Search box
|
|
|
|
And I select an Image
|
2014-07-02 18:43:36 +00:00
|
|
|
When I click Apply changes
|
|
|
|
And I click Save page
|
2013-11-20 21:51:32 +00:00
|
|
|
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]] |
|
|
|
|
|