-
Notifications
You must be signed in to change notification settings - Fork 10.8k
Fix/flaky test 56629 #58080
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 test 56629 #58080
Conversation
Refactored and renamed the isAddressComplete function to use the shipping fields setting; we're not using it for checking random fields, it was used only for the fields from addressFieldsForShippingRates Removed some JS utils we weren't using
This was an optimistically added filter. We're not accounting for it in the shipping calculator and the shipping logic isn't account for additional shipping fields
Testing GuidelinesHi @tjcafferkey @woocommerce/rubik, Apart from reviewing the code changes, please make sure to review the testing instructions (Guide) and verify that relevant tests (E2E, Unit, Integration, etc.) have been added or updated as needed. Reminder: PR reviewers are required to document testing performed. This includes:
|
Size Change: -120 B (0%) Total Size: 5.96 MB |
Test using WordPress PlaygroundThe changes in this pull request can be previewed and tested using a WordPress Playground instance. Test this pull request with WordPress Playground. Note that this URL is valid for 30 days from when this comment was last updated. You can update it by closing/reopening the PR or pushing a new commit. |
Refactored and renamed the isAddressComplete function to use the shipping fields setting; we're not using it for checking random fields, it was used only for the fields from addressFieldsForShippingRates Removed some JS utils we weren't using
This was an optimistically added filter. We're not accounting for it in the shipping calculator and the shipping logic isn't account for additional shipping fields
d04b95e
to
c10267a
Compare
Fix the end-to-end test by waiting for the pickup location to appear in the order summary before placing the order.
Fix the end-to-end test by waiting for the pickup location to appear in the order summary before placing the order.
Submission Review Guidelines:
Changes proposed in this Pull Request:
Fixing the end to end test by waiting for the pickup location to show up in the order summary before placing the order.
I noticed there is a delay between the selection and the data update, this PR fixes the flakiness by making sure the cart is updated.
Closes #56629
How to test the changes in this Pull Request:
Make sure the test does not fail.
Testing that has already taken place:
I re-rerun the tests 3 times, seems to work now.
Changelog entry
Changelog Entry Details
Significance
Type
Message
Changelog Entry Comment
Comment