2014-05-08 20:10:51 +00:00
|
|
|
@chrome @en.wikipedia.beta.wmflabs.org @firefox @login @test2.wikipedia.org
|
2013-08-28 13:02:52 +00:00
|
|
|
Feature: VisualEditor References
|
|
|
|
|
2014-05-08 20:10:51 +00:00
|
|
|
Background:
|
2014-05-12 22:09:10 +00:00
|
|
|
Given I go to a page that has references
|
2014-05-08 20:10:51 +00:00
|
|
|
And I click in the editable part
|
|
|
|
|
2014-05-12 22:09:10 +00:00
|
|
|
Scenario: Creating VisualEditor Reference
|
2014-05-02 19:31:14 +00:00
|
|
|
Given I click Reference
|
2013-09-11 16:39:21 +00:00
|
|
|
And I can see the References User Interface
|
2014-05-02 19:31:14 +00:00
|
|
|
When I enter THIS IS CONTENT into Content box
|
2013-08-28 13:02:52 +00:00
|
|
|
And I click Insert reference
|
2013-12-12 16:08:46 +00:00
|
|
|
Then link to Insert menu should be visible
|
2014-05-12 22:09:10 +00:00
|
|
|
|
|
|
|
Scenario: Reusing an existing reference
|
|
|
|
When I edit the page with Some content related to existing reference
|
|
|
|
And I create a reference using existing reference
|
|
|
|
Then first link to reference should be visible
|
|
|
|
And second link to reference should be visible
|
|
|
|
|