Closed
Description
Description
Multiple problems have been introduced around the "Save my info" component for WooPay. The goal of this issue is to reduce the chances of introducing these problems by increasing the automated test coverage for it. This could be unit tests or e2e, whatever makes more sense for the cases we want to cover.
Let's use this issue as a starting point. We can create follow-up issues as convenient.
List of issues we've had:
- WooPay can duplicate the "Save my info" element and AJAX requests on the Checkout Block while Stripe for WooCommerce is active #9410
- WooPay user registration flow broken on v8.3.0 on shortcode checkout #9552
- Cannot place order on blocks checkout when buying a subscription while WooPay pre-checked is enabled #9449 (Required a patch release)
- Fixed WooPay opt-in checks that would fail with a hidden message when the customer selected a payment method other than Credit Card #9210
Acceptance criteria
- The scenarios worth covering with automated tests and the best testing approach for them are listed.
- Each scenario is covered by automated tests, either unit or e2e.
Activity