diff --git a/tests/functional/spec/utils/setupTestPage.js b/tests/functional/spec/utils/setupTestPage.js index cde605bd86..f86cc2a265 100644 --- a/tests/functional/spec/utils/setupTestPage.js +++ b/tests/functional/spec/utils/setupTestPage.js @@ -9,7 +9,7 @@ export default async function setupTestPage({ config, testPage, frameName }) { }); const bannerFrame = await bannerElement.contentFrame(); - await bannerFrame.waitForSelector(selectors.message.messageMessaging); + await bannerFrame.waitForSelector(selectors.message.messageMessaging, { visibile: true }); const openModal = async () => { await bannerElement.click(selectors.message.messageMessaging);