mediawiki-extensions-Visual.../modules/ve-mw/tests/browser/features/media_interface.feature
ryasmeen@wikimedia.org cefb9b265a [BrowserTest] [WIP]Fixing the test media_general_settings.feature
Change-Id: Ic83477f12db08ed25452f19ca3dc410940a8ebf5
2015-02-06 16:16:33 -07:00

21 lines
953 B
Gherkin

@en.wikipedia.beta.wmflabs.org @firefox @internet_explorer_10 @login @safari @test2.wikipedia.org
Feature: VisualEditor Media Interface
Background:
Given I go to the "Media Interface VisualEditor Test" page with content "Media Interface VisualEditor Test"
And I click in the editable part
Scenario Outline: VisualEditor insert new media
Given I click Media
And I enter <search_term> into media Search box
And I select an Image
And I click Use this image
And I click Insert
And I click Save page
And I click 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 |
| bug | [[File:Folgers.ogv\|thughmb]] |