diff --git a/test/test.js b/test/test.js index 5f4a2dc..79f2edb 100644 --- a/test/test.js +++ b/test/test.js @@ -104,6 +104,7 @@ describe('Application life cycle test', function () { async function closeAccountSetupDialog() { await browser.get('https://' + app.fqdn); + await waitForElement(By.xpath('//span[contains(text(), "show me this anymore")]')); await browser.findElement(By.xpath('//span[contains(text(), "show me this anymore")]')).click(); await browser.findElement(By.xpath('//a[contains(text(), "Set up")]')).click(); await browser.sleep(3000);