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
Move Cart, Checkout and Order Confirmation template customization tests to the parameterized tests file #43992
Move Cart, Checkout and Order Confirmation template customization tests to the parameterized tests file #43992
Conversation
}, | ||
{ | ||
visitPage: async ( { frontendUtils, page } ) => { | ||
const checkoutPage = new CheckoutPage( { page } ); |
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 don't know if this is the best way to create the CheckoutPage()
object, but it was the cleanest way I could find without having to extend the test
object of all tests. 🤔
Test Results SummaryCommit SHA: 3eafde5
To view the full API test report, click here. To view the full E2E test report, click here. To view all test reports, visit the WooCommerce Test Reports Dashboard. |
…ts to the parameterized tests file
3fb6e64
to
72170b4
Compare
44b9ce3
to
7bb917e
Compare
Hi @roykho, Apart from reviewing the code changes, please make sure to review the testing instructions as well. You can follow this guide to find out what good testing instructions should look like: |
plugins/woocommerce-blocks/tests/e2e/tests/templates/order-confirmation.block_theme.spec.ts
Show resolved
Hide resolved
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!
…ts to the parameterized tests file (#43992) * Move Cart, Checkout and Order Confirmation template customization tests to the parameterized tests file * Add changefile(s) from automation for the following project(s): woocommerce-blocks * Clean up order-confirmation.block_theme.spec.ts file --------- Co-authored-by: github-actions <github-actions@github.com>
Changes proposed in this Pull Request:
In #43778, we converted block templates tests to parameterized tests, but it didn't include Cart, Checkout and Order Confirmation templates tests.
How to test the changes in this Pull Request:
Note: no need to test this for the release.
Changelog entry
Significance
Type
Message
Comment
Move Cart, Checkout and Order Confirmation template customization tests to the parameterized tests file