Feat/session keys #123
Annotations
6 errors, 1 warning, and 1 notice
Run e2e tests:
e2e/src/webwallet/page-objects/Dapps.ts#L174
1) [WebWallet] › src/webwallet/specs/sessionKeys.spec.ts:5:7 › Session Keys › create a sessions, send a transaction a get EFO data
TimeoutError: page.waitForEvent: Timeout 120000ms exceeded while waiting for event "dialog"
=========================== logs ===========================
waiting for event "dialog"
============================================================
at src/webwallet/page-objects/Dapps.ts:174
172 | await this.dApp.waitForTimeout(1000)
173 |
> 174 | const dialogPromise = this.dApp.waitForEvent("dialog")
| ^
175 | const [, dialog] = await Promise.all([
176 | this.dApp.getByText("Submit session tx").click(),
177 | dialogPromise,
at Dapps.sessionKeys (/__w/demo-dapp-starknet/demo-dapp-starknet/e2e/src/webwallet/page-objects/Dapps.ts:174:37)
at /__w/demo-dapp-starknet/demo-dapp-starknet/e2e/src/webwallet/specs/sessionKeys.spec.ts:16:5
|
Run e2e tests:
e2e/src/webwallet/page-objects/Dapps.ts#L174
1) [WebWallet] › src/webwallet/specs/sessionKeys.spec.ts:5:7 › Session Keys › create a sessions, send a transaction a get EFO data
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.waitForEvent: Timeout 120000ms exceeded while waiting for event "dialog"
=========================== logs ===========================
waiting for event "dialog"
============================================================
at src/webwallet/page-objects/Dapps.ts:174
172 | await this.dApp.waitForTimeout(1000)
173 |
> 174 | const dialogPromise = this.dApp.waitForEvent("dialog")
| ^
175 | const [, dialog] = await Promise.all([
176 | this.dApp.getByText("Submit session tx").click(),
177 | dialogPromise,
at Dapps.sessionKeys (/__w/demo-dapp-starknet/demo-dapp-starknet/e2e/src/webwallet/page-objects/Dapps.ts:174:37)
at /__w/demo-dapp-starknet/demo-dapp-starknet/e2e/src/webwallet/specs/sessionKeys.spec.ts:16:5
|
Run e2e tests:
e2e/src/webwallet/page-objects/Dapps.ts#L131
2) [WebWallet] › src/webwallet/specs/signMessage.spec.ts:5:7 › Sign message › sign a message from testDapp
Error: Timed out 120000ms waiting for expect(locator).toBeVisible()
Locator: getByText('Signer', { exact: true })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 120000ms
- waiting for getByText('Signer', { exact: true })
at src/webwallet/page-objects/Dapps.ts:131
129 |
130 | await Promise.all([
> 131 | expect(this.dApp.getByText("Signer", { exact: true })).toBeVisible(),
| ^
132 | expect(this.dApp.getByText("Cosigner", { exact: true })).toBeVisible(),
133 | expect(this.dApp.locator("[name=signer_r]")).toBeVisible(),
134 | expect(this.dApp.locator("[name=signer_s]")).toBeVisible(),
at Dapps.signMessage (/__w/demo-dapp-starknet/demo-dapp-starknet/e2e/src/webwallet/page-objects/Dapps.ts:131:62)
at /__w/demo-dapp-starknet/demo-dapp-starknet/e2e/src/webwallet/specs/signMessage.spec.ts:13:5
|
Run e2e tests:
e2e/src/webwallet/page-objects/Dapps.ts#L131
2) [WebWallet] › src/webwallet/specs/signMessage.spec.ts:5:7 › Sign message › sign a message from testDapp
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 120000ms waiting for expect(locator).toBeVisible()
Locator: getByText('Signer', { exact: true })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 120000ms
- waiting for getByText('Signer', { exact: true })
at src/webwallet/page-objects/Dapps.ts:131
129 |
130 | await Promise.all([
> 131 | expect(this.dApp.getByText("Signer", { exact: true })).toBeVisible(),
| ^
132 | expect(this.dApp.getByText("Cosigner", { exact: true })).toBeVisible(),
133 | expect(this.dApp.locator("[name=signer_r]")).toBeVisible(),
134 | expect(this.dApp.locator("[name=signer_s]")).toBeVisible(),
at Dapps.signMessage (/__w/demo-dapp-starknet/demo-dapp-starknet/e2e/src/webwallet/page-objects/Dapps.ts:131:62)
at /__w/demo-dapp-starknet/demo-dapp-starknet/e2e/src/webwallet/specs/signMessage.spec.ts:13:5
|
Run e2e tests:
e2e/src/shared/src/SapoEmailClient.ts#L114
3) [WebWallet] › src/webwallet/specs/token.spec.ts:5:7 › Token › not implemented while calling Add Token
Error: No verification code found within 40000ms
at src/shared/src/SapoEmailClient.ts:114
112 | }
113 |
> 114 | throw new Error(`No verification code found within ${timeout}ms`);
| ^
115 | } finally {
116 | await connection.end();
117 | }
at SapoEmailClient.waitForEmail (/__w/demo-dapp-starknet/demo-dapp-starknet/e2e/src/shared/src/SapoEmailClient.ts:114:19)
at SapoEmailClient.getPin (/__w/demo-dapp-starknet/demo-dapp-starknet/e2e/src/shared/src/SapoEmailClient.ts:121:21)
at Dapps.fillCredentials (/__w/demo-dapp-starknet/demo-dapp-starknet/e2e/src/webwallet/page-objects/Dapps.ts:58:17)
at Dapps.requestConnectionFromDapp (/__w/demo-dapp-starknet/demo-dapp-starknet/e2e/src/webwallet/page-objects/Dapps.ts:37:7)
at /__w/demo-dapp-starknet/demo-dapp-starknet/e2e/src/webwallet/specs/token.spec.ts:9:5
|
Run e2e tests
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run e2e tests
2 failed
[WebWallet] › src/webwallet/specs/sessionKeys.spec.ts:5:7 › Session Keys › create a sessions, send a transaction a get EFO data
[WebWallet] › src/webwallet/specs/signMessage.spec.ts:5:7 › Sign message › sign a message from testDapp
1 flaky
[WebWallet] › src/webwallet/specs/token.spec.ts:5:7 › Token › not implemented while calling Add Token
6 passed (17.1m)
|
Loading