Skip to content

Migrate multi-currency e2e tests to Playwright #2043

Migrate multi-currency e2e tests to Playwright

Migrate multi-currency e2e tests to Playwright #2043

Triggered via pull request August 20, 2024 16:42
Status Success
Total duration 15m 19s
Artifacts 1

e2e-pw-pull-request.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors, 5 warnings, and 1 notice
[merchant] › merchant/merchant-disputes-view-details-via-order-notice.spec.ts:43:7 › Disputes > View dispute details via disputed order notice › should navigate to dispute details when disputed order notice button clicked: tests/e2e-pw/specs/merchant/merchant-disputes-view-details-via-order-notice.spec.ts#L19
1) [merchant] › merchant/merchant-disputes-view-details-via-order-notice.spec.ts:43:7 › Disputes > View dispute details via disputed order notice › should navigate to dispute details when disputed order notice button clicked Test timeout of 120000ms exceeded while running "beforeEach" hook. 17 | let orderId: string; 18 | > 19 | test.beforeEach( async ( { browser } ) => { | ^ 20 | const { shopperPage } = await getShopper( browser ); 21 | // Place an order to dispute later 22 | await shopperPage.goto( '/cart/' ); at /home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/specs/merchant/merchant-disputes-view-details-via-order-notice.spec.ts:19:8
[merchant] › merchant/merchant-disputes-view-details-via-order-notice.spec.ts:43:7 › Disputes > View dispute details via disputed order notice › should navigate to dispute details when disputed order notice button clicked: tests/e2e-pw/specs/merchant/merchant-disputes-view-details-via-order-notice.spec.ts#L40
1) [merchant] › merchant/merchant-disputes-view-details-via-order-notice.spec.ts:43:7 › Disputes > View dispute details via disputed order notice › should navigate to dispute details when disputed order notice button clicked Error: locator.innerText: Test ended. Call log: - waiting for locator('.woocommerce-order-overview__order.order > strong') 38 | '.woocommerce-order-overview__order.order > strong' 39 | ); > 40 | orderId = await orderIdField.innerText(); | ^ 41 | } ); 42 | 43 | test( 'should navigate to dispute details when disputed order notice button clicked', async ( { at /home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/specs/merchant/merchant-disputes-view-details-via-order-notice.spec.ts:40:33
[shopper] › shopper/shopper-checkout-purchase.spec.ts:33:6 › Successful purchase › using a 3DS card: tests/e2e-pw/specs/shopper/shopper-checkout-purchase.spec.ts#L1
2) [shopper] › shopper/shopper-checkout-purchase.spec.ts:33:6 › Successful purchase › using a 3DS card Test timeout of 120000ms exceeded.
[shopper] › shopper/shopper-checkout-purchase.spec.ts:33:6 › Successful purchase › using a 3DS card: tests/e2e-pw/utils/shopper.ts#L105
2) [shopper] › shopper/shopper-checkout-purchase.spec.ts:33:6 › Successful purchase › using a 3DS card Error: page.waitForSelector: Test timeout of 120000ms exceeded. Call log: - waiting for locator('body > div > iframe[name^="__privateStripeFrame"]') to be visible at ../utils/shopper.ts:105 103 | // Stripe card input also uses __privateStripeFrame as a prefix, so need to make sure we wait for an iframe that 104 | // appears at the top of the DOM. > 105 | await page.waitForSelector( | ^ 106 | 'body > div > iframe[name^="__privateStripeFrame"]' 107 | ); 108 | at Object.confirmCardAuthentication (/home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/utils/shopper.ts:105:13) at /home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/specs/shopper/shopper-checkout-purchase.spec.ts:36:17
[shopper] › shopper/shopper-checkout-purchase.spec.ts:33:6 › Successful purchase › using a 3DS card: tests/e2e-pw/specs/shopper/shopper-checkout-purchase.spec.ts#L1
2) [shopper] › shopper/shopper-checkout-purchase.spec.ts:33:6 › Successful purchase › using a 3DS card Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 120000ms exceeded.
[shopper] › shopper/shopper-checkout-purchase.spec.ts:33:6 › Successful purchase › using a 3DS card: tests/e2e-pw/utils/shopper.ts#L105
2) [shopper] › shopper/shopper-checkout-purchase.spec.ts:33:6 › Successful purchase › using a 3DS card Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.waitForSelector: Test timeout of 120000ms exceeded. Call log: - waiting for locator('body > div > iframe[name^="__privateStripeFrame"]') to be visible at ../utils/shopper.ts:105 103 | // Stripe card input also uses __privateStripeFrame as a prefix, so need to make sure we wait for an iframe that 104 | // appears at the top of the DOM. > 105 | await page.waitForSelector( | ^ 106 | 'body > div > iframe[name^="__privateStripeFrame"]' 107 | ); 108 | at Object.confirmCardAuthentication (/home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/utils/shopper.ts:105:13) at /home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/specs/shopper/shopper-checkout-purchase.spec.ts:36:17
Slow Test: [merchant] › merchant/multi-currency-setup.spec.ts#L1
[merchant] › merchant/multi-currency-setup.spec.ts took 50.2s
Slow Test: [merchant] › merchant/multi-currency-on-boarding.spec.ts#L1
[merchant] › merchant/multi-currency-on-boarding.spec.ts took 44.1s
Slow Test: [shopper] › shopper/multi-currency-checkout.spec.ts#L1
[shopper] › shopper/multi-currency-checkout.spec.ts took 22.6s
WC - latest
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "playwright-report". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
🎭 Playwright Run Summary
2 flaky [merchant] › merchant/merchant-disputes-view-details-via-order-notice.spec.ts:43:7 › Disputes > View dispute details via disputed order notice › should navigate to dispute details when disputed order notice button clicked [shopper] › shopper/shopper-checkout-purchase.spec.ts:33:6 › Successful purchase › using a 3DS card 1 skipped 33 passed (10.6m)

Artifacts

Produced during runtime
Name Size
playwright-report Expired
31.2 MB