Skip to content

Commit 1e2f8db

Browse files
committed
fix: try to fix test failed in ci
1 parent 8634ae2 commit 1e2f8db

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/@vue/cli-plugin-e2e-nightwatch/generator/template/tests/e2e/specs/test-with-pageobjects.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ module.exports = {
2323

2424
'verify if string "e2e-nightwatch" is within the cli plugin links': (browser) => {
2525
const homepage = browser.page.homepage()
26-
const welcomeSection = homepage.section.app.section.welcome
26+
homepage.waitForElementVisible('@appContainer')
2727

28+
const welcomeSection = homepage.section.app.section.welcome
2829
welcomeSection.expect.element('@cliPluginLinks').text.to.contain('e2e-nightwatch')
2930
}
3031
}

0 commit comments

Comments
 (0)