Skip to content

First setup for Tools E2E tests #17

First setup for Tools E2E tests

First setup for Tools E2E tests #17

Triggered via pull request October 9, 2023 17:43
Status Failure
Total duration 2m 14s
Artifacts 1

e2e-tests.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 notice
E2E - Tools
@kadena/tools#test:e2e: command (/home/runner/work/kadena.js/kadena.js/packages/apps/tools) pnpm run test:e2e exited (1)
example.spec.ts:7:5 › Fund account using the faucet @mocks: packages/apps/tools/tests/example.spec.ts#L18
1) example.spec.ts:7:5 › Fund account using the faucet @Mocks ──────────────────────────────────── Error: Timed out 10000ms waiting for expect(received).toHaveText(expected) Expected string: "Transaction is being processed..." Received string: "Something went wrong" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('alert').getByRole('heading') - locator resolved to <h4 id="label-:r0:">Something went wrong</h4> - unexpected value "Something went wrong" - locator resolved to <h4 id="label-:r0:">Something went wrong</h4> - unexpected value "Something went wrong" - locator resolved to <h4 id="label-:r0:">Something went wrong</h4> - unexpected value "Something went wrong" - locator resolved to <h4 id="label-:r0:">Something went wrong</h4> - unexpected value "Something went wrong" - locator resolved to <h4 id="label-:r0:">Something went wrong</h4> - unexpected value "Something went wrong" - locator resolved to <h4 id="label-:r0:">Something went wrong</h4> - unexpected value "Something went wrong" - locator resolved to <h4 id="label-:r0:">Something went wrong</h4> - unexpected value "Something went wrong" - locator resolved to <h4 id="label-:r0:">Something went wrong</h4> - unexpected value "Something went wrong" - locator resolved to <h4 id="label-:r0:">Something went wrong</h4> - unexpected value "Something went wrong" - locator resolved to <h4 id="label-:r0:">Something went wrong</h4> - unexpected value "Something went wrong" - locator resolved to <h4 id="label-:r0:">Something went wrong</h4> - unexpected value "Something went wrong" - locator resolved to <h4 id="label-:r0:">Something went wrong</h4> - unexpected value "Something went wrong" - locator resolved to <h4 id="label-:r0:">Something went wrong</h4> - unexpected value "Something went wrong" - locator resolved to <h4 id="label-:r0:">Something went wrong</h4> - unexpected value "Something went wrong" 16 | 17 | await mockHelper.mockResponse('**/poll', pollInProgress) > 18 | await expect(await faucet.notification.getTitle()).toHaveText('Transaction is being processed...') | ^ 19 | await mockHelper.mockResponse('**/poll', pollFinished) 20 | await expect(await faucet.notification.getTitle()).toHaveText('Transaction successfully completed') 21 | }); at /home/runner/work/kadena.js/kadena.js/packages/apps/tools/tests/example.spec.ts:18:54
example.spec.ts:7:5 › Fund account using the faucet @mocks: packages/apps/tools/tests/example.spec.ts#L18
1) example.spec.ts:7:5 › Fund account using the faucet @Mocks ──────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 10000ms waiting for expect(received).toHaveText(expected) Expected string: "Transaction is being processed..." Received string: "Something went wrong" Call log: - expect.toHaveText with timeout 10000ms - waiting for getByRole('alert').getByRole('heading') - locator resolved to <h4 id="label-:r0:">Something went wrong</h4> - unexpected value "Something went wrong" - locator resolved to <h4 id="label-:r0:">Something went wrong</h4> - unexpected value "Something went wrong" - locator resolved to <h4 id="label-:r0:">Something went wrong</h4> - unexpected value "Something went wrong" - locator resolved to <h4 id="label-:r0:">Something went wrong</h4> - unexpected value "Something went wrong" - locator resolved to <h4 id="label-:r0:">Something went wrong</h4> - unexpected value "Something went wrong" - locator resolved to <h4 id="label-:r0:">Something went wrong</h4> - unexpected value "Something went wrong" - locator resolved to <h4 id="label-:r0:">Something went wrong</h4> - unexpected value "Something went wrong" - locator resolved to <h4 id="label-:r0:">Something went wrong</h4> - unexpected value "Something went wrong" - locator resolved to <h4 id="label-:r0:">Something went wrong</h4> - unexpected value "Something went wrong" - locator resolved to <h4 id="label-:r0:">Something went wrong</h4> - unexpected value "Something went wrong" - locator resolved to <h4 id="label-:r0:">Something went wrong</h4> - unexpected value "Something went wrong" - locator resolved to <h4 id="label-:r0:">Something went wrong</h4> - unexpected value "Something went wrong" - locator resolved to <h4 id="label-:r0:">Something went wrong</h4> - unexpected value "Something went wrong" - locator resolved to <h4 id="label-:r0:">Something went wrong</h4> - unexpected value "Something went wrong" 16 | 17 | await mockHelper.mockResponse('**/poll', pollInProgress) > 18 | await expect(await faucet.notification.getTitle()).toHaveText('Transaction is being processed...') | ^ 19 | await mockHelper.mockResponse('**/poll', pollFinished) 20 | await expect(await faucet.notification.getTitle()).toHaveText('Transaction successfully completed') 21 | }); at /home/runner/work/kadena.js/kadena.js/packages/apps/tools/tests/example.spec.ts:18:54
E2E - Tools
Process completed with exit code 1.
🎭 Playwright Run Summary
1 failed example.spec.ts:7:5 › Fund account using the faucet @Mocks ─────────────────────────────────────

Artifacts

Produced during runtime
Name Size
playwright-report Expired
3.41 MB