mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 08:34:54 +00:00
122be9c95a
In some tests the save button won't be available for a few ms until the latest transaction has been pushed to the undo stack. Change-Id: If03f03b033a21a039a322ca32983d0302e44efbb
33 lines
1.3 KiB
Gherkin
33 lines
1.3 KiB
Gherkin
@en.wikipedia.beta.wmflabs.org @firefox @internet_explorer_10 @login @safari @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 external link http://www.example.com into link Content box
|
|
And I click Done to close Link User Interface
|
|
Then Save page should be visible
|
|
And I click Save page
|
|
And I click Review your changes
|
|
Then an external link appears in the diff view
|
|
|
|
Scenario: Enter internal link
|
|
When I enter internal link Main Page into link Content box
|
|
And I click Done to close Link User Interface
|
|
Then Save page should be visible
|
|
And I click Save page
|
|
And I click Review your changes
|
|
Then an internal link appears in the diff view
|
|
|
|
Scenario: Enter non-existing link
|
|
When I enter non existing link DoesNotExist into link Content box
|
|
And I click Done to close Link User Interface
|
|
Then Save page should be visible
|
|
And I click Save page
|
|
And I click Review your changes
|
|
Then a non-existing link appears in the diff view
|