-
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
test: Enable jest-watch-typeahead for UI tests #53479
Conversation
Mirrors configuration for integration tests.
Size Change: 0 B Total Size: 1.5 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.
LGTM 🎊 !
I usually run the E2E tests from Gutenberg Mobile, however, running the command TEST_RN_PLATFORM=android npm run device-tests:local -- -- --watch
from there gives the following error:
● Validation Error:
Watch plugin jest-watch-typeahead/filename cannot be found. Make sure the watchPlugins configuration option points to an existing node module.
Configuration Documentation:
https://jestjs.io/docs/configuration
Probably we need to update the Jest configuration in Gutenberg Mobile to point to the proper module path.
I do not believe we need to make further changes. This should be resolved by merging the sibling wordpress-mobile/gutenberg-mobile#6051. Also, the command you shared includes an erroneous extra |
What?
Enable
jest-watch-typeahead
for e2e UI tests.Why?
Relates to #51869. Mirrors configuration for integration tests.
How?
Add Jest configuration mirroring the integrate test setup.
Testing Instructions
TEST_RN_PLATFORM=ios npm run native device-tests:local -- -- --watch
Testing Instructions for Keyboard
n/a
Screenshots or screencast
n/a