2014-05-09 18:04:18 +00:00
|
|
|
@chrome @en.wikipedia.beta.wmflabs.org @firefox @login @test2.wikipedia.org
|
2013-08-28 13:02:52 +00:00
|
|
|
Feature: VisualEditor Links
|
|
|
|
|
|
|
|
Background:
|
2014-05-07 18:31:50 +00:00
|
|
|
Given I go to the "Links VisualEditor Test" page with content "Links VisualEditor Test"
|
2014-05-08 19:45:39 +00:00
|
|
|
And I click in the editable part
|
2014-05-07 18:31:50 +00:00
|
|
|
And I click the Link button
|
2014-05-02 19:31:14 +00:00
|
|
|
And I can see the Link User Inteface
|
2013-08-28 13:02:52 +00:00
|
|
|
|
|
|
|
Scenario: Enter external link
|
2013-09-11 16:39:21 +00:00
|
|
|
When I enter http://www.example.com into link Content box
|
2013-08-28 13:02:52 +00:00
|
|
|
And I click the blue text
|
|
|
|
And I click < to close Link User Interface
|
|
|
|
And I click Save page
|
2013-10-09 18:25:25 +00:00
|
|
|
And I click Links Review your changes
|
2013-08-28 13:02:52 +00:00
|
|
|
Then an external link appears in the diff view
|
|
|
|
|
|
|
|
Scenario: Enter internal link
|
2013-09-11 16:39:21 +00:00
|
|
|
When I enter Main Page into link Content box
|
2013-08-28 13:02:52 +00:00
|
|
|
And I click the blue text for Matching Page
|
|
|
|
And I click < to close Link User Interface
|
|
|
|
And I click Save page
|
2013-10-09 18:25:25 +00:00
|
|
|
And I click Links Review your changes
|
2013-08-28 13:02:52 +00:00
|
|
|
Then an internal link appears in the diff view
|
|
|
|
|
|
|
|
Scenario: Enter non-existing link
|
2013-09-11 16:39:21 +00:00
|
|
|
When I enter DoesNotExist into link Content box
|
2013-08-28 13:02:52 +00:00
|
|
|
And I click the blue text for New Page
|
|
|
|
And I click < to close Link User Interface
|
|
|
|
And I click Save page
|
2013-10-09 18:25:25 +00:00
|
|
|
And I click Links Review your changes
|
2013-08-28 13:02:52 +00:00
|
|
|
Then a non-existing link appears in the diff view
|