mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-26 07:15:32 +00:00
54fd7c9184
Note that I reported Bug 64655 for Chrome but upon refactoring this test I find the buggy behavior now in Firefox but Chrome is fine. Browsers are weird, and the Links inspector is too. Change-Id: Ibd90a33bb43342dc1d7410d621f01875e1c177bf
33 lines
1.2 KiB
Gherkin
33 lines
1.2 KiB
Gherkin
@en.wikipedia.beta.wmflabs.org @firefox @login @test2.wikipedia.org
|
|
Feature: VisualEditor Links
|
|
|
|
Background:
|
|
Given I go to the "Links VisualEditor Test" page with content "Links VisualEditor Test"
|
|
And I make the text "Links VisualEditor Test" be selected
|
|
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 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
|
|
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
|
|
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
|