Merge "QA: Cleanup page issues browser test"

This commit is contained in:
jenkins-bot 2019-01-22 22:56:14 +00:00 committed by Gerrit Code Review
commit ff1f506b94
2 changed files with 1 additions and 2 deletions

View file

@ -3,7 +3,6 @@ Feature: Issues
Background:
Given I am using the mobile site
And I am in beta mode
And I am on a page which has cleanup templates
And this page has issues

View file

@ -11,11 +11,11 @@ When(/^I see the issues overlay$/) do
end
When(/^this page has issues$/) do
on(ArticlePage).wait_until_rl_module_ready('skins.minerva.scripts')
on(ArticlePage).issues_stamp_element.when_present
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