Skip to content

Playwright test for ReefKnot #6

Playwright test for ReefKnot

Playwright test for ReefKnot #6

Triggered via pull request December 5, 2024 08:33
Status Failure
Total duration 7m 8s
Artifacts 1

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors, 3 warnings, and 1 notice
[reef-knot] › matomo-event.spec.ts:27:9 › ReefKnot. Matomo events › Click to "Coinbase Smart Wallet" wallet (Qase ID: 430): playwright-tests/tests/matomo-event.spec.ts#L41
1) [reef-knot] › matomo-event.spec.ts:27:9 › ReefKnot. Matomo events › Click to "Coinbase Smart Wallet" wallet (Qase ID: 430) › Click to wallet Coinbase Smart Wallet and check console log TimeoutError: page.waitForEvent: Timeout 15000ms exceeded while waiting for event "console" =========================== logs =========================== waiting for event "console" ============================================================ 39 | await test.step(`Click to wallet ${event.walletName} and check console log`, async () => { 40 | const [consoleMessage] = await Promise.all([ > 41 | reefKnotPage.page.waitForEvent('console', (msg) => | ^ 42 | msg.text().includes('metrics'), 43 | ), 44 | reefKnotPage.walletListModal at /home/runner/work/reef-knot/reef-knot/playwright-tests/tests/matomo-event.spec.ts:41:29 at /home/runner/work/reef-knot/reef-knot/playwright-tests/tests/matomo-event.spec.ts:39:18
[reef-knot] › matomo-event.spec.ts:56:7 › ReefKnot. Matomo events › Click to buttons "More wallets" and "Less wallets" (Qase ID: 431): playwright-tests/tests/matomo-event.spec.ts#L77
2) [reef-knot] › matomo-event.spec.ts:56:7 › ReefKnot. Matomo events › Click to buttons "More wallets" and "Less wallets" (Qase ID: 431) › Click to "More wallets" Error: Expected request param "metrics: More Wallets clicked" to equal value "more wallets clicked" expect(received).toContain(expected) // indexOf Expected substring: "more wallets clicked" Received string: "metrics: More Wallets clicked" 75 | consoleMessage.text(), 76 | `Expected request param "${consoleMessage.text()}" to equal value "${expectedMoreWalletsNameParam}"`, > 77 | ).toContain(expectedMoreWalletsNameParam); | ^ 78 | }); 79 | 80 | await test.step('Click to "Less wallets"', async () => { at /home/runner/work/reef-knot/reef-knot/playwright-tests/tests/matomo-event.spec.ts:77:11 at /home/runner/work/reef-knot/reef-knot/playwright-tests/tests/matomo-event.spec.ts:67:7
[reef-knot] › wallet-stats.spec.ts:56:11 › ReefKnot. Check statistic (metamask) › Check ETH balance (Qase ID: 437) @connectedWallet: playwright-tests/tests/wallet-stats.spec.ts#L67
3) [reef-knot] › wallet-stats.spec.ts:56:11 › ReefKnot. Check statistic (metamask) › Check ETH balance (Qase ID: 437) @connectedWallet 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
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 27.4s
Slow Test: playwright-tests/[reef-knot] › matomo-event-connected-wallet.spec.ts#L1
playwright-tests/[reef-knot] › matomo-event-connected-wallet.spec.ts took 24.7s
🎭 Playwright Run Summary
3 failed [reef-knot] › matomo-event.spec.ts:27:9 › ReefKnot. Matomo events › Click to "Coinbase Smart Wallet" wallet (Qase ID: 430) [reef-knot] › matomo-event.spec.ts:56:7 › ReefKnot. Matomo events › Click to buttons "More wallets" and "Less wallets" (Qase ID: 431) [reef-knot] › wallet-stats.spec.ts:56:11 › ReefKnot. Check statistic (metamask) › Check ETH balance (Qase ID: 437) @connectedWallet 35 passed (6.1m)

Artifacts

Produced during runtime
Name Size
playwright-report Expired
7.41 MB