mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-24 06:13:54 +00:00
QA: Page Issues browser test should wait till JS has finished loading
Clicking the page issue banner (which is ready from first paint to be clicked) will not yield the overlay. The user must wait for the JS to load. Likely the reason for Minerva browser test failures against beta cluster. Change-Id: I06c488ca64dd44ad24368a1d6b47bb2646ad4552
This commit is contained in:
parent
8cf642aa00
commit
6d243c1df0
|
@ -15,6 +15,7 @@ When(/^this page has issues$/) do
|
|||
end
|
||||
|
||||
Then(/^I should not see the issues overlay$/) do
|
||||
on(ArticlePage).wait_until_rl_module_ready('skins.minerva.scripts')
|
||||
expect(on(ArticlePage).overlay_element).not_to be_visible
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue