QA: Run references test per commit

Follow up to Id312638d86179e75bc670e72e5943f8c00232bbb
which switched the #content area from a div to a main
HTML element causing this to fail to match.

Test suite will now also run on @integration so that
this kind of issue is not caught too late in the beta
cluster.

Additional changes:
* Merge two similar tests

Bug: T201956
Change-Id: I1d402aaebc40dcca61979aa521cd8e1a1ce274d9
This commit is contained in:
jdlrobson 2018-08-15 16:13:02 -07:00
parent 1d63e15cec
commit 2ef12fb5e3
2 changed files with 3 additions and 8 deletions

View file

@ -1,15 +1,10 @@
@chrome @en.m.wikipedia.beta.wmflabs.org @firefox @test2.m.wikipedia.org @vagrant @extension-cite
@chrome @en.m.wikipedia.beta.wmflabs.org @firefox @test2.m.wikipedia.org @vagrant @integration @extension-cite
Feature: Reference popup drawer
Background:
Given I am using the mobile site
Scenario: Opening the reference drawer
Given I go to a page that has references
When I click on a reference
Then I should see the reference drawer
Scenario: Closing the reference drawer
Scenario: Opening and closing the reference drawer
Given I go to a page that has references
When I click on a reference
And I click on the page

View file

@ -148,7 +148,7 @@ class ArticlePage
div(:toast, css: '.mw-notification')
# loader
div(:content_wrapper, id: 'content')
element(:content_wrapper, 'main')
div(:content, id: 'bodyContent')
# secondary menu