diff --git a/cucumber/features/steps_definitions/pages.js b/cucumber/features/steps_definitions/pages.js index 5074d52..e309e15 100644 --- a/cucumber/features/steps_definitions/pages.js +++ b/cucumber/features/steps_definitions/pages.js @@ -43,6 +43,7 @@ module.exports = function () { for (let i = 0; i < pages.length; i += 1) { client.url(`${process.env.ROOT_URL}/${pages[i][0]}`); const content = pages[i][1]; + client.waitForVisible('#react-root', 5000); client.waitForText('#react-root', content); } callback();