mediawiki-extensions-Visual.../modules/ve-mw/tests/browser/features/links.feature
Željko Filipin 58049b0c2c [BrowserTest] Migration of browsertests* Jenkins jobs to selenium* jobs
selenium* jobs are a new way of running Ruby based Selenium tests. The
jobs are triggered daily.

Bug: T128190
Change-Id: I11554b23a0e347736a67766f8c0b9879d5a6bed9
2016-04-26 12:40:45 +02:00

30 lines
1.1 KiB
Gherkin

@en.wikipedia.beta.wmflabs.org @firefox @skip
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
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
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
And I click Save page
And I click Review your changes
Then a non-existing link appears in the diff view