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

bug: latest puppeteer version does not work with Stencil built-in test runner #5984

Open
3 tasks done
verena-ifx opened this issue Sep 13, 2024 · 2 comments
Open
3 tasks done
Labels
Bug: Validated This PR or Issue is verified to be a bug within Stencil

Comments

@verena-ifx
Copy link

Prerequisites

Stencil Version

4.12.0

Current Behavior

Running tests will lead to error messages for multiple tests, such as
"App did not load in allowed time. Please ensure the content loads a stencil application.
keep getting this when running my stencil tests"
Once I downgrade to puppeteer v 21.9.0 again (which is no longer supported), all my tests pass.

Expected Behavior

Tests should pass and run fast on the latest puppeteer version used with stencil test runner

System Info

No response

Steps to Reproduce

Upgrade to latest puppeteer version (together with latest Stencil + Jest version)

Code Reproduction URL

s://github.com/Infineon/infineon-design-system-stencil/actions/runs/10855821161/job/30129205007

Additional Information

No response

@ionitron-bot ionitron-bot bot added the triage label Sep 13, 2024
@tanner-reits
Copy link
Member

@verena-ifx We're aware of the issues with the latests versions of Puppeteer. There's an existing dependency update PR (#5982) for this, but we need to make some changes in Stencil as we're a few major versions behind at this point. However, at this time, we're not sure when we'll be able to schedule this work.

@tanner-reits tanner-reits added Bug: Validated This PR or Issue is verified to be a bug within Stencil and removed triage labels Sep 16, 2024
@joshcrain
Copy link

@tanner-reits thanks for looking into this. We encountered the same issues as @verena-ifx when using Puppeteer v22 with the StencilJS test runner. Tests that previously worked with earlier versions of Puppeteer no longer function as expected.

Additionally, attempting to use Puppeteer v21 and below results in installation failures in our pipeline via npm. Puppeteer is aware if this bug. Puppeteer suggests upgrading to a newer version, but v22 does not work with the StencilJS test runner. We seem to be caught in a bit of a catch-22.

Local Environment:

  • StencilJS version: ^4.3.0
  • Node.js version: v20.9.0
  • NPM version: 10.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug: Validated This PR or Issue is verified to be a bug within Stencil
Projects
None yet
Development

No branches or pull requests

3 participants