Skip to content

Playwright test for ReefKnot #8

Playwright test for ReefKnot

Playwright test for ReefKnot #8

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

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 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: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 Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── 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#L82
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" 80 | consoleMessage.text(), 81 | `Expected request param "${consoleMessage.text()}" to equal value "${expectedMoreWalletsNameParam}"`, > 82 | ).toContain(expectedMoreWalletsNameParam); | ^ 83 | }); 84 | 85 | await test.step('Click to "Less wallets"', async () => { at /home/runner/work/reef-knot/reef-knot/playwright-tests/tests/matomo-event.spec.ts:82:11 at /home/runner/work/reef-knot/reef-knot/playwright-tests/tests/matomo-event.spec.ts:72:7
[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#L82
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" Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── 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" 80 | consoleMessage.text(), 81 | `Expected request param "${consoleMessage.text()}" to equal value "${expectedMoreWalletsNameParam}"`, > 82 | ).toContain(expectedMoreWalletsNameParam); | ^ 83 | }); 84 | 85 | await test.step('Click to "Less wallets"', async () => { at /home/runner/work/reef-knot/reef-knot/playwright-tests/tests/matomo-event.spec.ts:82:11 at /home/runner/work/reef-knot/reef-knot/playwright-tests/tests/matomo-event.spec.ts:72:7
[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
3) [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
3) [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
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.3s
Slow Test: playwright-tests/[reef-knot] › matomo-event-connected-wallet.spec.ts#L1
playwright-tests/[reef-knot] › matomo-event-connected-wallet.spec.ts took 26.2s
🎭 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 @MetaMask 35 passed (7.0m)

Artifacts

Produced during runtime
Name Size
playwright-report Expired
14.1 MB