E2E Tests on Atomic - All #165
Annotations
4 errors, 5 warnings, and 2 notices
[chromium] › wcpay/shopper/shopper-checkout-purchase-site-editor.spec.ts:88:7 › Successful purchase:
tests/e2e-pw/utils/shopper.ts#L313
1) [chromium] › wcpay/shopper/shopper-checkout-purchase-site-editor.spec.ts:88:7 › Successful purchase, site builder theme › using a 3DS card, carding prevention false
Error: Timed out 20000ms waiting for expect(locator).toBeVisible()
Locator: getByLabel(/Add\s+(?:to\s+cart:\s*)?“Beanie”(?:\s+to\s+your\s+cart)?/).getByText('in cart')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 20000ms
- waiting for getByLabel(/Add\s+(?:to\s+cart:\s*)?“Beanie”(?:\s+to\s+your\s+cart)?/).getByText('in cart')
at ../utils/shopper.ts:313
311 | await expect(
312 | page.getByLabel( addToCartRegex ).getByText( 'in cart' )
> 313 | ).toBeVisible();
| ^
314 | }
315 | };
316 |
at addToCartFromShopPage (/home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/utils/shopper.ts:313:5)
at /home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/specs/wcpay/shopper/shopper-checkout-purchase-site-editor.spec.ts:53:4
|
[chromium] › wcpay/shopper/shopper-pay-for-order.spec.ts:23:8 › Shopper > Pay for Order › should be able to pay for a failed order with card testing protection true:
tests/e2e-pw/specs/wcpay/shopper/shopper-pay-for-order.spec.ts#L1
2) [chromium] › wcpay/shopper/shopper-pay-for-order.spec.ts:23:8 › Shopper > Pay for Order › should be able to pay for a failed order with card testing protection true
Test timeout of 120000ms exceeded.
|
[chromium] › wcpay/shopper/shopper-pay-for-order.spec.ts:23:8 › Shopper > Pay for Order › should be able to pay for a failed order with card testing protection true:
tests/e2e-pw/utils/shopper.ts#L189
2) [chromium] › wcpay/shopper/shopper-pay-for-order.spec.ts:23:8 › Shopper > Pay for Order › should be able to pay for a failed order with card testing protection true
Error: page.waitForSelector: Test ended.
Call log:
- waiting for locator('#payment #wcpay-card-element iframe[name^="__privateStripeFrame"]') to be visible
at ../utils/shopper.ts:189
187 | }
188 | } else {
> 189 | const frameHandle = await page.waitForSelector(
| ^
190 | '#payment #wcpay-card-element iframe[name^="__privateStripeFrame"]'
191 | );
192 | const stripeFrame = await frameHandle.contentFrame();
at Object.fillCardDetails (/home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/utils/shopper.ts:189:34)
at /home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/specs/wcpay/shopper/shopper-pay-for-order.spec.ts:59:5
|
WP - nightly | WC - latest | wcpay - shopper
Process completed with exit code 1.
|
Slow Test:
[chromium] › wcpay/shopper/shopper-myaccount-saved-cards.spec.ts#L1
[chromium] › wcpay/shopper/shopper-myaccount-saved-cards.spec.ts took 3.6m
|
Slow Test:
[chromium] › wcpay/shopper/shopper-checkout-failures.spec.ts#L1
[chromium] › wcpay/shopper/shopper-checkout-failures.spec.ts took 2.1m
|
Slow Test:
[chromium] › wcpay/shopper/shopper-checkout-save-card-and-purchase.spec.ts#L1
[chromium] › wcpay/shopper/shopper-checkout-save-card-and-purchase.spec.ts took 2.0m
|
Slow Test:
[chromium] › wcpay/shopper/shopper-bnpls-checkout.spec.ts#L1
[chromium] › wcpay/shopper/shopper-bnpls-checkout.spec.ts took 1.4m
|
Slow Test:
[chromium] › wcpay/shopper/shopper-checkout-purchase.spec.ts#L1
[chromium] › wcpay/shopper/shopper-checkout-purchase.spec.ts took 1.3m
|
🎭 Playwright Run Summary
2 flaky
[chromium] › wcpay/shopper/shopper-checkout-purchase-site-editor.spec.ts:88:7 › Successful purchase, site builder theme › using a 3DS card, carding prevention false
[chromium] › wcpay/shopper/shopper-pay-for-order.spec.ts:23:8 › Shopper > Pay for Order › should be able to pay for a failed order with card testing protection true
88 passed (31.9m)
|
WP - nightly | WC - latest | wcpay - shopper
tests/e2e/results.json doesn't exist so results are unclear and we will not try again.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
wp(nightly)-wc(latest)-wcpay-shopper
Expired
|
60.9 MB |
|