Skip to content

Testing: Fix Klarna E2E tests #516

Testing: Fix Klarna E2E tests

Testing: Fix Klarna E2E tests #516

Triggered via pull request May 18, 2024 04:00
Status Success
Total duration 6m 22s
Artifacts 1

e2e-pw-pull-request.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors, 4 warnings, and 1 notice
[merchant] › merchant/merchant-payment-gateways-confirmation.spec.ts:79:6 › payment gateways disable confirmation › should disable WCPay after confirming: tests/e2e-pw/specs/merchant/merchant-payment-gateways-confirmation.spec.ts#L96
1) [merchant] › merchant/merchant-payment-gateways-confirmation.spec.ts:79:6 › payment gateways disable confirmation › should disable WCPay after confirming, then enable again without confirming Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('link', { name: '"WooPayments" payment method is currently' }) Expected string: "Yes" Received string: "" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('link', { name: '"WooPayments" payment method is currently' }) 94 | await waitForToggleLoading( page ); 95 | await getSaveButton( page ).click(); > 96 | await expect( getToggle( page ) ).toHaveText( 'Yes' ); | ^ 97 | } ); 98 | 99 | test( 'should show the modal even after clicking the cancel button multiple times', async ( { at /home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/specs/merchant/merchant-payment-gateways-confirmation.spec.ts:96:37
[merchant] › merchant/merchant-payment-gateways-confirmation.spec.ts:79:6 › payment gateways disable confirmation › should disable WCPay after confirming: tests/e2e-pw/specs/merchant/merchant-payment-gateways-confirmation.spec.ts#L96
1) [merchant] › merchant/merchant-payment-gateways-confirmation.spec.ts:79:6 › payment gateways disable confirmation › should disable WCPay after confirming, then enable again without confirming Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toHaveText(expected) Locator: getByRole('link', { name: '"WooPayments" payment method is currently' }) Expected string: "Yes" Received string: "" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('link', { name: '"WooPayments" payment method is currently' }) 94 | await waitForToggleLoading( page ); 95 | await getSaveButton( page ).click(); > 96 | await expect( getToggle( page ) ).toHaveText( 'Yes' ); | ^ 97 | } ); 98 | 99 | test( 'should show the modal even after clicking the cancel button multiple times', async ( { at /home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/specs/merchant/merchant-payment-gateways-confirmation.spec.ts:96:37
🎭 Playwright Run Summary
1 flaky [merchant] › merchant/merchant-payment-gateways-confirmation.spec.ts:79:6 › payment gateways disable confirmation › should disable WCPay after confirming, then enable again without confirming 12 passed (2.4m)
Slow Test: [shopper] › shopper/shopper-checkout-purchase.spec.ts#L1
[shopper] › shopper/shopper-checkout-purchase.spec.ts took 21.3s
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 17.9s
WC - latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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/

Artifacts

Produced during runtime
Name Size
playwright-report Expired
20.6 MB