Skip to content

Feat/session keys

Feat/session keys #123

Triggered via pull request December 18, 2024 18:45
Status Failure
Total duration 20m 30s
Artifacts 1

pull-request.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors, 4 warnings, and 2 notices
[WebWallet] › src/webwallet/specs/sessionKeys.spec.ts:5:7 › Session Keys › create a sessions: 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
[WebWallet] › src/webwallet/specs/sessionKeys.spec.ts:5:7 › Session Keys › create a sessions: 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
[WebWallet] › src/webwallet/specs/signMessage.spec.ts:5:7 › Sign message › sign a message from testDapp: 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
[WebWallet] › src/webwallet/specs/signMessage.spec.ts:5:7 › Sign message › sign a message from testDapp: 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
[WebWallet] › src/webwallet/specs/token.spec.ts:5:7 › Token › not implemented while calling Add Token: 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
test-webwallet
Process completed with exit code 1.
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test-argentX
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test-argentX
No files were found with the provided path: e2e/artifacts/playwright/ !e2e/artifacts/playwright/*.webm. No artifacts will be uploaded.
test-webwallet
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
🎭 Playwright Run Summary
8 passed (3.9m)
🎭 Playwright Run Summary
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)

Artifacts

Produced during runtime
Name Size
test-artifacts Expired
35.4 MB