-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add FAQ for why Cypress passes locally and not in CI. #2343
Comments
|
The page does not load while testing in headless chrome mode but works fine with headed chrome mode |
@anveshpuli Issues in our Cypress documentation repo are reserved for documentation changes. We recommend questions relating to how to use Cypress be asked in our community chat. Also try searching our existing GitHub issues, reading through our documentation, or searching Stack Overflow for relevant answers. |
When testing something that includes DatePickers, it may fail because of the time zone. The time zone from which the pipeline will run can be different from the time zone of the local machine. When creating the test, the expected date value may be different from the real one, since the expected one is fixed and the real one can vary according to the time zone. This problem happened to me and I solved it by treating the date in ISO format without the offset. |
Facing same issue in 2022. |
@RabinMallick Did you get any solution |
@RabinMallick: have u got any solution? |
Did anybody get solution to this one? |
Experiencing the same issue: tests always passed locally but failing in circleci. Did anybody find a solution for this? |
Same same ;) |
I'm experiencing the same issue after upgrading to React v18. All e2e tests passed locally and in CI prior to the upgrade. The tests still pass locally but many tests now fail with unhelpful error messages. For context, I'm running cypress v12.9.0, react v18.0.0, and node v18.16.0 |
You may be able to get some help from the Cypress technical community If you take advantage of this you should say which CI provider you are using and give some details of your workflow together with the error messages you are seeing. This repository is for making changes to the documentation. It is not the right place to report a technical issue or to get help. |
I'm submitting a...
Type of bug / changes
It is pretty common question / complain from users and deserves an answer.
Some saved responses in the past:
1
2
3 (more about flaky tests)
The text was updated successfully, but these errors were encountered: