mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-30 00:55:00 +00:00
1236387abd
Paired with: Chris McMahon Bug: 58040 Change-Id: I83d4c391fc101bda8c18a6d0c533ca75795569ff
36 lines
1.2 KiB
Gherkin
36 lines
1.2 KiB
Gherkin
@en.wikipedia.beta.wmflabs.org @firefox @login @test2.wikipedia.org
|
|
Feature: VisualEditor Links
|
|
|
|
Background:
|
|
Given I am logged in
|
|
And I am at my user page
|
|
When I click Edit for VisualEditor
|
|
And I click the Link button
|
|
|
|
Scenario: Enter external link
|
|
Given I can see the Link User Inteface
|
|
When I enter http://www.example.com into link Content box
|
|
And I click the blue text
|
|
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
|
|
Given I can see the Link User Inteface
|
|
When I enter Main Page into link Content box
|
|
And I click the blue text for Matching Page
|
|
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
|
|
Given I can see the Link User Inteface
|
|
When I enter DoesNotExist into link Content box
|
|
And I click the blue text for New Page
|
|
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
|