Closed as not planned
Description
Description
There are shopper test suites failing in the E2E - All workflow, with WP Nightly version:
- tests/e2e-pw/specs/wcpay/shopper/shopper-wc-blocks-checkout-failures.spec.ts:106:8 › WooCommerce Blocks > Checkout failures › Should show error – Your card was declined.
- tests/e2e-pw/specs/wcpay/shopper/shopper-wc-blocks-checkout-purchase.spec.ts:44:7 › WooCommerce Blocks > Successful purchase › using a basic card
- tests/e2e-pw/specs/wcpay/shopper/shopper-wc-blocks-saved-card-checkout-and-usage.spec.ts:58:7 › WooCommerce Blocks > Saved cards › should be able to save basic card on Blocks checkout
Output from the test failure:
"beforeAll" hook timeout of 120000ms exceeded.
70 | let shopperPage: Page;
71 |
> 72 | test.beforeAll( async ( { browser }, { project } ) => {
| ^
73 | shopperPage = ( await getShopper( browser ) ).shopperPage;
74 |
75 | if (
at /home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/specs/wcpay/shopper/shopper-wc-blocks-checkout-failures.spec.ts:72:8
Error: locator.fill: Test ended.
Call log:
- waiting for getByPlaceholder('Search')
Additional context
Priority
I'm assigning a medium priority because only the WP Nightly tests are failing.
Reason why this e2e test is broken
The tests are failing due to missing elements in the DOM. Given it's only failing for the WP Nightly tests this could be related to some upstream changes in the structure of the DOM (needs to be confirmed). For this reason I'm adding the e2e: broken environment
label
Important
Please, ensure when closing this issue (PR fix) that only one e2e: broken
label is added and it is accurate.
- I confirmed there's only one
e2e: broken
label in this issue and it is accurate.
Activity