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
|
2015-10-14 15:10:13 +00:00
|
|
|
When I enter external link http://www.example.com into link Content box
|
|
|
|
And I click Done to close Link User Interface
|
|
|
|
And I click Save page
|
|
|
|
And I click Review your changes
|
|
|
|
Then an external link appears in the diff view
|
2013-08-28 13:02:52 +00:00
|
|
|
|
|
|
|
Scenario: Enter internal link
|
2015-10-14 15:10:13 +00:00
|
|
|
When I enter internal link Main Page into link Content box
|
|
|
|
And I click Done to close Link User Interface
|
|
|
|
And I click Save page
|
|
|
|
And I click Review your changes
|
|
|
|
Then an internal link appears in the diff view
|
2013-08-28 13:02:52 +00:00
|
|
|
|
|
|
|
Scenario: Enter non-existing link
|
2014-11-14 17:55:50 +00:00
|
|
|
When I enter non existing link DoesNotExist into link Content box
|
2015-10-14 15:10:13 +00:00
|
|
|
And I click Done to close Link User Interface
|
|
|
|
And I click Save page
|
|
|
|
And I click Review your changes
|
|
|
|
Then a non-existing link appears in the diff view
|