mediawiki-extensions-Visual.../modules/ve-mw/test/browser/features/media_interface.feature
Željko Filipin 1236387abd [browser test] Run all Selenium tests in Firefox
Paired with: Chris McMahon
Bug: 58040

Change-Id: I83d4c391fc101bda8c18a6d0c533ca75795569ff
2014-04-18 17:33:12 +02:00

21 lines
1 KiB
Gherkin

@en.wikipedia.beta.wmflabs.org @firefox @login @test2.wikipedia.org
Feature: VisualEditor Media Interface
Scenario Outline: VisualEditor insert new media
Given I am logged in
And I am at my user page
When I click Edit for VisualEditor
And I click Media
And I enter <search_term> into media Search box
And I select an Image
And 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]] |