Skip to content

Migrate multi-currency e2e tests to Playwright #1705

Migrate multi-currency e2e tests to Playwright

Migrate multi-currency e2e tests to Playwright #1705

Triggered via pull request July 29, 2024 21:31
Status Success
Total duration 6m 36s
Artifacts 1

e2e-pw-pull-request.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error, 4 warnings, and 1 notice
[merchant] › merchant/merchant-admin-multi-currency-on-boarding.spec.ts:58:7 › Merchant On-boarding › Currency selection and management › should disable the submit button when no currencies are selected: tests/e2e-pw/specs/merchant/merchant-admin-multi-currency-on-boarding.spec.ts#L61
1) [merchant] › merchant/merchant-admin-multi-currency-on-boarding.spec.ts:58:7 › Merchant On-boarding › Currency selection and management › should disable the submit button when no currencies are selected Error: Screenshot comparison failed: 28933 pixels (ratio 0.06 of all image pixels) are different. Expected: /home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/specs/merchant/__snapshots__/merchant-admin-multi-currency-on-boarding.spec.ts/Merchant-On-boarding-Currency-selection-and-ma-c380b-submit-button-when-no-currencies-are-selected-1.png Received: /home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/test-results/merchant-admin-multi-curre-e24a7--no-currencies-are-selected-merchant/Merchant-On-boarding-Curre-c380b-o-currencies-are-selected-1-actual.png Diff: /home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/test-results/merchant-admin-multi-curre-e24a7--no-currencies-are-selected-merchant/Merchant-On-boarding-Curre-c380b-o-currencies-are-selected-1-diff.png Call log: - page._expectScreenshot with timeout 10000ms - verifying given screenshot expectation - waiting for locator('.multi-currency-setup-wizard') - locator resolved to <div data-wp-c16t="true" data-wp-component="Card" cla…>…</div> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - 28933 pixels (ratio 0.06 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('.multi-currency-setup-wizard') - locator resolved to <div data-wp-c16t="true" data-wp-component="Card" cla…>…</div> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - captured a stable screenshot - 28933 pixels (ratio 0.06 of all image pixels) are different. 59 | await expect( 60 | page.locator( '.multi-currency-setup-wizard' ) > 61 | ).toHaveScreenshot(); | ^ 62 | 63 | const checkboxes = await page 64 | .locator( at /home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/specs/merchant/merchant-admin-multi-currency-on-boarding.spec.ts:61:6
Slow Test: [shopper] › shopper/shopper-checkout-purchase.spec.ts#L1
[shopper] › shopper/shopper-checkout-purchase.spec.ts took 21.5s
Slow Test: [merchant] › merchant/merchant-disputes-view-details-via-order-notice.spec.ts#L1
[merchant] › merchant/merchant-disputes-view-details-via-order-notice.spec.ts took 16.4s
WC - latest
The following actions uses Node.js version which is deprecated 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
1 flaky [merchant] › merchant/merchant-admin-multi-currency-on-boarding.spec.ts:58:7 › Merchant On-boarding › Currency selection and management › should disable the submit button when no currencies are selected 1 skipped 21 passed (2.7m)

Artifacts

Produced during runtime
Name Size
playwright-report Expired
9.47 MB