-
Notifications
You must be signed in to change notification settings - Fork 790
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: e2e tests failing when updating to 4.20.0 #6072
Comments
Hey @danyball 👋 when loading a Stencil component using the Stencil testrunner in an e2e test case we verify that all components resolved their At this point there is not much I can do as this is very difficult to reproduce. If you have any ideas what may can cause this I would be curious to know. |
Thanks Christian. Did you change something runtime timing relevant in 4.20? runtime: hydrate shadow dom first (#5911) (ccf1a89) Maybe the new if in "isSameVnode" could go wrong on slow machines or so?! |
@danyball potentially but I am not certain. |
We are facing the same or a similar issue. @christian-bromann, @danyball
My stencil version is 4.23.0 Any ideas what to do? |
@tishoyanchev we are seeing the same issues in our pipeline and investigating the issue. |
@christian-bromann
Any ideas what to do? |
we have same issue |
@tishoyanchev can anyone provide a reproduction case? |
Example of a test that fails: Component.tsx:
e2e test file:
Error:
Example of a test that passes:
Not sure if relevant, but when I push my changes to github, github-actions runs the tests, and often there are less tests that fail on github actions than locally. For example just now, the e2e checks failed on github and the log shows 8 tests failed, while locally it's 12. Also, with Stencil version ^4.22.3, and Puppeteer version 21.9.0, all tests were passing locally, but some kept failing on GitHub actions (even after deleting cache) Update: now even with Stencil version 4.22.3 and Puppeteer version 21.9.0 tests fail too with the same error.. |
To those affected, I believe there is a conflation of a couple of issues here.
This was addressed via #6098 / v4.24.0
The reverting of that change is merged and awaiting release. If you can't wait, you can set the |
Do you guys have any time frame for the 2nd issue? |
Thanks for trying to help me out with Bug no.1. Upgraded to stencil 4.24 and puppeteer 24.1: |
Prerequisites
Stencil Version
4.20.0
Current Behavior
We have around 700 e2e tests running with 4.19.2. After updating to 4.20.0 tests fails on our server (jenkins and gitlab ci tested). On my local Mac I can not see any errors.
Expected Behavior
tests still running
System Info
Steps to Reproduce
Code Reproduction URL
sorry no
Additional Information
https://discord.com/channels/520266681499779082/1304108899657318442/1304108899657318442
The text was updated successfully, but these errors were encountered: