Skip to content

Fix QIT errors reported by PHPStan #696

Fix QIT errors reported by PHPStan

Fix QIT errors reported by PHPStan #696

Triggered via pull request June 3, 2024 14:59
Status Success
Total duration 6m 19s
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
Slow Test: [shopper] › shopper/shopper-checkout-purchase.spec.ts#L1
[shopper] › shopper/shopper-checkout-purchase.spec.ts took 23.4s
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 18.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/
🎭 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.2m)

Artifacts

Produced during runtime
Name Size
playwright-report Expired
22.7 MB