Extract the Account Session logic from Embedded components onboarding into a reusable utility hook #4743
e2e-pw-pull-request.yml
on: pull_request
WC - latest
36m 1s
Annotations
1 error, 5 warnings, and 1 notice
[shopper] › shopper/shopper-myaccount-payment-methods-add-fail.spec.ts:58:8 › Payment Methods › when attempting to add a declined-incorrect card › it should not add the card:
tests/e2e-pw/specs/shopper/shopper-myaccount-payment-methods-add-fail.spec.ts#L68
1) [shopper] › shopper/shopper-myaccount-payment-methods-add-fail.spec.ts:58:8 › Payment Methods › when attempting to add a declined-incorrect card › it should not add the card
Error: Timed out 20000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('alert')
Expected string: "Your card number is invalid."
Received string: ""
Call log:
- expect.toHaveText with timeout 20000ms
- waiting for getByRole('alert')
66 |
67 | // Verify that we get the expected error message.
> 68 | await expect( shopperPage.getByRole( 'alert' ) ).toHaveText(
| ^
69 | errorText
70 | );
71 |
at /home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/specs/shopper/shopper-myaccount-payment-methods-add-fail.spec.ts:68:54
|
Slow Test:
[shopper] › shopper/shopper-myaccount-saved-cards.spec.ts#L1
[shopper] › shopper/shopper-myaccount-saved-cards.spec.ts took 2.7m
|
Slow Test:
[merchant] › merchant/merchant-disputes-respond.spec.ts#L1
[merchant] › merchant/merchant-disputes-respond.spec.ts took 1.5m
|
Slow Test:
[shopper] › shopper/shopper-checkout-failures.spec.ts#L1
[shopper] › shopper/shopper-checkout-failures.spec.ts took 1.3m
|
Slow Test:
[shopper] › shopper/shopper-checkout-save-card-and-purchase.spec.ts#L1
[shopper] › shopper/shopper-checkout-save-card-and-purchase.spec.ts took 1.2m
|
Slow Test:
[merchant] › merchant/multi-currency-setup.spec.ts#L1
[merchant] › merchant/multi-currency-setup.spec.ts took 57.9s
|
🎭 Playwright Run Summary
1 flaky
[shopper] › shopper/shopper-myaccount-payment-methods-add-fail.spec.ts:58:8 › Payment Methods › when attempting to add a declined-incorrect card › it should not add the card
162 passed (32.1m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report
|
25 MB |
|