mediawiki-extensions-Visual.../modules/ve-mw/test/browser/features/links.feature
cmcmahon fcffffbb99 [browser test] further adventures of avoiding login to edit
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
2014-05-02 15:43:16 -04:00

31 lines
1.1 KiB
Gherkin

@edit_user_page @en.wikipedia.beta.wmflabs.org @firefox @login @test2.wikipedia.org
Feature: VisualEditor Links
Background:
Given I click the Link button
And I can see the Link User Inteface
Scenario: Enter external link
When I enter http://www.example.com into link Content box
And I click the blue text
And I click < to close Link User Interface
And I click Save page
And I click Links Review your changes
Then an external link appears in the diff view
Scenario: Enter internal link
When I enter Main Page into link Content box
And I click the blue text for Matching Page
And I click < to close Link User Interface
And I click Save page
And I click Links Review your changes
Then an internal link appears in the diff view
Scenario: Enter non-existing link
When I enter DoesNotExist into link Content box
And I click the blue text for New Page
And I click < to close Link User Interface
And I click Save page
And I click Links Review your changes
Then a non-existing link appears in the diff view