Merge "QA: Remove hacks introduced for T170890"

This commit is contained in:
jenkins-bot 2018-11-23 19:08:05 +00:00 committed by Gerrit Code Review
commit bce934c54d
3 changed files with 3 additions and 9 deletions

View File

@ -1,4 +1,4 @@
@chrome @en.m.wikipedia.beta.wmflabs.org @firefox @adminuser
@chrome @en.m.wikipedia.beta.wmflabs.org @adminuser
Feature: Page actions menu when anonymous
Background:

View File

@ -27,13 +27,7 @@ When(/^I click the watch star$/) do
end
Then(/^I should see a toast notification$/) do
# To avoid flakey tests check the notification area element first (T170890)
on(ArticlePage) do |page|
# Minerva loads mediawiki.notify at startup which defers the loading of this module
# We must wait until the lazy loading has happened before checking for the toast (T170890)
page.wait_until_rl_module_ready('mediawiki.notification')
expect(page.notification_area_element.when_present).to be_visible
end
expect(on(ArticlePage).notification_area_element.when_present).to be_visible
end
Then(/^I should see a toast with message "(.+)"$/) do |msg|

View File

@ -1,4 +1,4 @@
@chrome @en.m.wikipedia.beta.wmflabs.org @firefox @integration @smoke @test2.m.wikipedia.org @login @vagrant
@chrome @en.m.wikipedia.beta.wmflabs.org @integration @smoke @test2.m.wikipedia.org @login @vagrant
Feature: Manage Watchlist
Background: