2014-11-21 20:56:13 +00:00
|
|
|
@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
|
2015-01-28 19:36:36 +00:00
|
|
|
And I click Use this image
|
|
|
|
And I click Insert
|
2014-07-02 18:43:36 +00:00
|
|
|
And I click Save page
|
2014-11-03 21:37:36 +00:00
|
|
|
And I click Review your changes
|
2013-11-20 21:51:32 +00:00
|
|
|
Then <expected_markup_text> should appear in the media diff view
|
|
|
|
And I can click the X on the media save box
|
|
|
|
Examples:
|
2015-01-28 19:36:36 +00:00
|
|
|
| search_term | expected_markup_text |
|
|
|
|
| bug | [[File:Folgers.ogv\|thumb]] |
|