Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hardcoded app load timeout failing tests intermittently #2497

Closed
carl-ellis opened this issue Jun 8, 2020 · 3 comments
Closed

Hardcoded app load timeout failing tests intermittently #2497

carl-ellis opened this issue Jun 8, 2020 · 3 comments
Labels

Comments

@carl-ellis
Copy link

The hardcoded timeout is causing intermittent failures on our tests.

await page.waitForFunction('window.stencilAppLoaded', { timeout: 4750 });

Causes:

App did not load in allowed time. Please ensure the content loads a stencil application.
      at waitForStencil (node_modules/@stencil/core/dist/testing/index.js:39878:15)

Adding this as a configurable value would make sense.

@ionitron-bot ionitron-bot bot added the triage label Jun 8, 2020
@bitflower
Copy link
Contributor

Same here, can we make it configurable?

@bitflower
Copy link
Contributor

Made a PR - for me locally it works from a local build.

I've triggered @adamdbradley on Slack reg. this.

@rwaskiewicz
Copy link
Member

Closing, as this appears to have been fixed in 8b69731. If the problem is still occurring, please feel free to open a new issue. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants