-
Notifications
You must be signed in to change notification settings - Fork 297
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 flaky E2E tests #10048
Fix flaky E2E tests #10048
Conversation
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.
Great work here @aaemnnosttv!
I see the E2E suite has passed twice in a row with no failures for this PR, which is a very pleasing sight to behold, as it seems to have been failing every single time recently up until now.
I've left a handful of minor comments.
One additional point, although not technically in scope, it would be nice to clear out the last remaining reference to accounts-properties-profiles
:
site-kit-wp/tests/phpunit/integration/Core/Modules/REST_Modules_ControllerTest.php
Line 735 in 22dab9e
$request = new WP_REST_Request( 'POST', '/' . REST_Routes::REST_ROOT . '/modules/non-existent-module/data/accounts-properties-profiles' ); |
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, nice one @aaemnnosttv!
Summary
Addresses issue:
Relevant technical choices
PR Author Checklist
Do not alter or remove anything below. The following sections will be managed by moderators only.
Code Reviewer Checklist
Merge Reviewer Checklist