mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 00:30:44 +00:00
3351241659
Change-Id: Ia39fd2cf40cea7f6c4df364a45b0744ca92bfb7d
30 lines
1.1 KiB
Gherkin
30 lines
1.1 KiB
Gherkin
@chrome @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 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 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 Done 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 Done 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
|