-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Re-enable editor UI tests #12111
Re-enable editor UI tests #12111
Conversation
This reverts commit 8e4a56c.
You can trigger optional UI/connected tests for these changes by visiting CircleCI here. |
You can test the changes on this Pull Request by downloading the APK here. |
It is not recommended to mutate a view's state directly, so this approach uses an interaction to ensure the true or false state instead.
Generated by 🚫 dangerJS |
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 ran the connected tests on CI multiple times and it passed each time. The block editor test is ignored and I think the addition of setting the editor to classic will resolve the flakiness for the regular editor tests. I don't think we'll have any issues, but let's merge it and keep an eye on it for a bit.
Thanks @mkevins!
Thanks for reviewing and testing Oguz! |
Fixes #11897
Description
This PR adds a
ViewAction
utility method to set explicitly the editor preference, and sets the specific editor for the Classic and Gutenberg tests.Note: this PR does not yet address the startup time issue with the Gutenberg editor,
so I'm leaving this as draft for now. If a solution to that is not soon available, these changes should allow disabling of only Gutenberg tests, so the Aztec tests can still run.It seems these issues may be resolved? I'll mark this for review, and revisit if there are still problems with the tests timing out.Update:
I encountered some timeout issues with the Gutenberg editor test enabled. Additionally, there were problems with the
signUpWithMagicLink
test (mismatches on API endpoints reported from WireMock). I'm not sure why, but this goes away after disabling the Gutenberg editor test, so I suspect it is related to the editor flag. I've disabled the Gutenberg editor test and everything passes now. It may be worth fixing the Gutenberg editor test in a separate PR so that we don't block re-enabling the Aztec editor tests (since it seems that requires a bit more investigation).To test:
Editor UI tests should pass locally and on CI.
PR submission checklist:
RELEASE-NOTES.txt
if necessary.