-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Scripts: Increase timeout for e2e tests #35983
Conversation
f869968
to
0ac3109
Compare
@@ -9,17 +9,18 @@ const path = require( 'path' ); | |||
const { hasBabelConfig } = require( '../utils' ); | |||
|
|||
const jestE2EConfig = { | |||
testRunner: 'jest-circus/runner', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I sorted config entries by name.
0ac3109
to
54644fa
Compare
Size Change: 0 B Total Size: 1.07 MB ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good to me and I tested the 30 second value on WordPress/gutenberg-examples#174 and tests are running well.
Description
Let's increase the default timeout for e2e tests to 30 seconds.
+ testTimeout: 30000,
@ryanwelcher tries to integrate e2e tests in WordPress/gutenberg-examples#174. It looks like the default value of 5 seconds doesn't play along well with CI. I don't have a strong opinion about the selected timeout value. I'm happy to update it to anything else that improves the experience.
Checklist:
*.native.js
files for terms that need renaming or removal).