-
Notifications
You must be signed in to change notification settings - Fork 221
Move shopper-side Checkout E2E tests to Playwright #11998
Conversation
The release ZIP for this PR is accessible via:
Script Dependencies ReportThere is no changed script dependency between this branch and trunk. This comment was automatically generated by the TypeScript Errors Report
🎉 🎉 This PR does not introduce new TS errors. |
Size Change: 0 B Total Size: 1.61 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.
Thanks for migrating these tests, @tarhi-saad. However, I noticed that the line breaks between different sections seem to be missing in the migrated test file (tests/e2e/tests/checkout/checkout-block.shopper.block_theme.side_effects.spec.ts, lines 109-315). This file currently has only 2 line breaks in the 206 lines, impacting its readability. Could you share the reasoning behind this approach? Adding appropriate line breaks can enhance the clarity and maintainability of the code.
026bc53
to
595fc2e
Compare
I added some line breaks as suggested, @nielslange! 🙌 |
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.
Thanks for applying the changes, @tarhi-saad. I left one more suggestion. 😀
tests/e2e/tests/checkout/checkout-block.shopper.block_theme.side_effects.spec.ts
Outdated
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.
Thanks for working on this, @tarhi-saad. The changes look great. Let's ⛴️ this! 🙌
This test detected a bug. We will skip it for now and create a ticket to fix it!
…de_effects.spec.ts Co-authored-by: Niels Lange <[email protected]>
10c0ade
to
74f2c24
Compare
What
Moves shopper-side Checkout E2E tests to Playwright - we skipped them in Puppeteer to get old E2Es working again.
Removes the old Puppeteer shopper checkout tests.
Fixes #11895
Why
To 1) re-enable a skipped test and 2) move from Puppeteer to Playwright
Testing Instructions
Please consider any edge cases this change may have, and also other areas of the product this may impact.
block_theme
andclassic_theme
Screenshots or screencast
N/A
WooCommerce Visibility
Required:
Checklist
Required:
[type]
label or a[skip-changelog]
label.Conditional:
[skip-changelog]
label is not present).Changelog