Skip to content

First setup for Tools E2E tests #15

First setup for Tools E2E tests

First setup for Tools E2E tests #15

Triggered via pull request October 9, 2023 17:18
Status Failure
Total duration 4m 16s
Artifacts

e2e-tests.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors, 1 warning, 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.
E2E - Tools
No files were found with the provided path: playwright-report/. No artifacts will be uploaded.
🎭 Playwright Run Summary
1 failed example.spec.ts:7:5 › Fund account using the faucet @Mocks ─────────────────────────────────────