-
Notifications
You must be signed in to change notification settings - Fork 193
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
fix: increase jest test timeout to prevent frequent test failure #4060
Comments
I still see that the test is failing due to timeout. There was a performance issue with jest 24. currently, we are on 24.1.0. I will upgrade npm packages and then test again. ref: jestjs/jest#7732 |
Note: As we know that tests only fails for confirmation page on which receipt load by ajax. I did not find a function to set timeout value more than |
Closing this because it has been fixed. |
Feature Request
User Story
Currently, we are seeing on Travis that frontend test is failing and one of cause is
timeout
because on confirmation we are loading receipt via Ajax which takes more than500ms
few times. We can prevent the test from failing if we will increase time.Visuals
ref: https://travis-ci.org/impress-org/give/jobs/510785400
Possible Solution
Set jest test interval to
500ms<
for receipt paging tests.Acceptance Criteria
The text was updated successfully, but these errors were encountered: