First setup for Tools E2E tests #16
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.58 MB |
|