Skip to content

Playwright test for ReefKnot #9

Playwright test for ReefKnot

Playwright test for ReefKnot #9

Triggered via pull request December 5, 2024 10:09
Status Failure
Total duration 7m 43s
Artifacts 1

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors, 2 warnings, and 1 notice
[reef-knot] › wallet-stats.spec.ts:56:11 › ReefKnot. Check statistic (metamask) › Check ETH balance (Qase ID: 437) @connectedWallet @metamask: playwright-tests/tests/wallet-stats.spec.ts#L67
1) [reef-knot] › wallet-stats.spec.ts:56:11 › ReefKnot. Check statistic (metamask) › Check ETH balance (Qase ID: 437) @connectedWallet @MetaMask Error: Expected the wallet ETH balance comply with ReefKnot stats block Timed out 5000ms waiting for expect(locator).toContainText(expected) Locator: getByTestId('statsBlock').getByTestId('ETH') Expected string: "2" Received string: "1.999984...ETH" Call log: - Expected the wallet ETH balance comply with ReefKnot stats block with timeout 5000ms - waiting for getByTestId('statsBlock').getByTestId('ETH') 9 × locator resolved to <div data-testid="ETH" class="sc-2eff21e-4 bbXFjB">…</div> - unexpected value "1.999984...ETH" 65 | reefKnotPage.statsBlock.ethBalance, 66 | 'Expected the wallet ETH balance comply with ReefKnot stats block', > 67 | ).toContainText(walletEthBalance); | ^ 68 | }); 69 | 70 | test(qase(438, 'Check stETH balance'), async () => { at /home/runner/work/reef-knot/reef-knot/playwright-tests/tests/wallet-stats.spec.ts:67:11
[reef-knot] › wallet-stats.spec.ts:56:11 › ReefKnot. Check statistic (metamask) › Check ETH balance (Qase ID: 437) @connectedWallet @metamask: playwright-tests/tests/wallet-stats.spec.ts#L67
1) [reef-knot] › wallet-stats.spec.ts:56:11 › ReefKnot. Check statistic (metamask) › Check ETH balance (Qase ID: 437) @connectedWallet @MetaMask Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Expected the wallet ETH balance comply with ReefKnot stats block Timed out 5000ms waiting for expect(locator).toContainText(expected) Locator: getByTestId('statsBlock').getByTestId('ETH') Expected string: "2" Received string: "1.999984...ETH" Call log: - Expected the wallet ETH balance comply with ReefKnot stats block with timeout 5000ms - waiting for getByTestId('statsBlock').getByTestId('ETH') 9 × locator resolved to <div data-testid="ETH" class="sc-2eff21e-4 bbXFjB">…</div> - unexpected value "1.999984...ETH" 65 | reefKnotPage.statsBlock.ethBalance, 66 | 'Expected the wallet ETH balance comply with ReefKnot stats block', > 67 | ).toContainText(walletEthBalance); | ^ 68 | }); 69 | 70 | test(qase(438, 'Check stETH balance'), async () => { at /home/runner/work/reef-knot/reef-knot/playwright-tests/tests/wallet-stats.spec.ts:67:11
[reef-knot] › matomo-event-connected-wallet.spec.ts:37:11 › ReefKnot. Matomo events (metamask) › Connect metamask wallet (Qase ID: 432) @connectedWallet @metamask: playwright-tests/services/browser/browser.service.ts#L70
2) [reef-knot] › matomo-event-connected-wallet.spec.ts:37:11 › ReefKnot. Matomo events (metamask) › Connect metamask wallet (Qase ID: 432) @connectedWallet @MetaMask TimeoutError: locator.getAttribute: Timeout 15000ms exceeded. Call log: - waiting for getByTestId('experimental-setting-toggle-request-queue').locator('input') at ../services/browser/browser.service.ts:70 68 | this.walletConfig, 69 | ); > 70 | await this.walletPage.setup(this.standConfig.networkName); | ^ 71 | } 72 | 73 | async teardown() { at /home/runner/work/reef-knot/reef-knot/playwright-tests/node_modules/@lidofinance/wallets-testing-wallets/src/metamask/pages/settings.page.ts:46:51 at SettingsPage.setupNetworkChangingSetting (/home/runner/work/reef-knot/reef-knot/playwright-tests/node_modules/@lidofinance/wallets-testing-wallets/src/metamask/pages/settings.page.ts:42:5) at /home/runner/work/reef-knot/reef-knot/playwright-tests/node_modules/@lidofinance/wallets-testing-wallets/src/metamask/metamask.page.ts:74:7 at MetamaskPage.setup (/home/runner/work/reef-knot/reef-knot/playwright-tests/node_modules/@lidofinance/wallets-testing-wallets/src/metamask/metamask.page.ts:66:5) at BrowserService.setup (/home/runner/work/reef-knot/reef-knot/playwright-tests/services/browser/browser.service.ts:70:5) at BrowserService.initWalletSetup (/home/runner/work/reef-knot/reef-knot/playwright-tests/services/browser/browser.service.ts:40:5) at /home/runner/work/reef-knot/reef-knot/playwright-tests/services/browser/browser-setup.service.ts:21:5 at /home/runner/work/reef-knot/reef-knot/playwright-tests/tests/matomo-event-connected-wallet.spec.ts:23:48
[reef-knot] › matomo-event-connected-wallet.spec.ts:37:11 › ReefKnot. Matomo events (metamask) › Connect metamask wallet (Qase ID: 432) @connectedWallet @metamask: playwright-tests/tests/matomo-event-connected-wallet.spec.ts#L33
2) [reef-knot] › matomo-event-connected-wallet.spec.ts:37:11 › ReefKnot. Matomo events (metamask) › Connect metamask wallet (Qase ID: 432) @connectedWallet @MetaMask TypeError: Cannot read properties of undefined (reading 'disconnectWalletForce') 31 | 32 | test.afterAll(async () => { > 33 | await reefKnotService.disconnectWalletForce(); | ^ 34 | await browserService.teardown(); 35 | }); 36 | at /home/runner/work/reef-knot/reef-knot/playwright-tests/tests/matomo-event-connected-wallet.spec.ts:33:31
test
Process completed with exit code 1.
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: playwright-tests/[reef-knot] › wallet-connection.spec.ts#L1
playwright-tests/[reef-knot] › wallet-connection.spec.ts took 26.8s
🎭 Playwright Run Summary
1 failed [reef-knot] › wallet-stats.spec.ts:56:11 › ReefKnot. Check statistic (metamask) › Check ETH balance (Qase ID: 437) @connectedWallet @MetaMask 1 flaky [reef-knot] › matomo-event-connected-wallet.spec.ts:37:11 › ReefKnot. Matomo events (metamask) › Connect metamask wallet (Qase ID: 432) @connectedWallet @MetaMask 36 passed (6.9m)

Artifacts

Produced during runtime
Name Size
playwright-report Expired
15.9 MB