mediawiki-extensions-Visual.../modules/ve-mw/tests/browser/features/links.feature
Željko Filipin f850ddf73b Rename "test" folder to "tests"
All other repositories have tests in “tests” folder. For more
information see:

http://lists.wikimedia.org/pipermail/qa/2014-July/001663.html
http://lists.wikimedia.org/pipermail/qa/2014-July/001667.html
http://lists.wikimedia.org/pipermail/qa/2014-July/001672.html

Change-Id: Ib1e4fa4b7203bd8217615db1ceac23a329c081f1
2014-07-15 18:00:32 -07:00

30 lines
1.1 KiB
Gherkin

@chrome @en.wikipedia.beta.wmflabs.org @firefox @login @test2.wikipedia.org
Feature: VisualEditor Links
Background:
Given I go to the "Links VisualEditor Test" page with content "Links VisualEditor Test"
And I click in the editable part
And 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 < 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 < 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 < 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