mediawiki-extensions-Popups/tests/browser/features/previews.feature
Sam Smith a0b01f86ab Hygiene: Remove "I am on the ... page" step
Merge the "Given the test page has been created" and "Given I am on the
... page" as they are only ever used together to mean "Given I am on the
test page".

Supporting changes:
* samples/links.wikitext -> fixtures/test_page.wikitext as it's more
  obvious what the file is.

Change-Id: Ide261a8e8c55133ab2a13a80c48e266252f61f5f
2016-12-13 14:25:37 +00:00

17 lines
524 B
Gherkin

@chrome @en.m.wikipedia.beta.wmflabs.org @firefox @test2.m.wikipedia.org @vagrant
Feature: Previews
Background:
Given I am logged in
And I have enabled the beta feature
And I am on the test page
And the RL module has loaded
Scenario: Dwelling on a valid link shows a preview
When I dwell on the first valid link
Then I should see a preview
Scenario: Abandoning the link hides the preview
When I dwell on the first valid link
And I abandon the link
Then I should not see a preview