Skip to content

chore: webwallet e2e test for tx and sign #88

chore: webwallet e2e test for tx and sign

chore: webwallet e2e test for tx and sign #88

Re-run triggered December 9, 2024 09:22
Status Failure
Total duration 7m 55s
Artifacts 2

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/connect.spec.ts:5:7 › Connect › connect from testDapp using starknetKitModal: e2e/src/webwallet/page-objects/Dapps.ts#L65
1) [WebWallet] › src/webwallet/specs/connect.spec.ts:5:7 › Connect › connect from testDapp using starknetKitModal TimeoutError: locator.fill: Timeout 120000ms exceeded. Call log: - waiting for locator('[name=password]') at src/webwallet/page-objects/Dapps.ts:65 63 | await page.locator("[name=repeatPassword]").fill(credentials.password) 64 | } else { > 65 | await page.locator("[name=password]").fill(credentials.password) | ^ 66 | } 67 | 68 | await page.locator('button[type="submit"]').click() at Dapps.fillCredentials (/__w/demo-dapp-starknet/demo-dapp-starknet/e2e/src/webwallet/page-objects/Dapps.ts:65:45) at Dapps.requestConnectionFromDapp (/__w/demo-dapp-starknet/demo-dapp-starknet/e2e/src/webwallet/page-objects/Dapps.ts:37:21) at /__w/demo-dapp-starknet/demo-dapp-starknet/e2e/src/webwallet/specs/connect.spec.ts:9:5
[WebWallet] › src/webwallet/specs/connect.spec.ts:5:7 › Connect › connect from testDapp using starknetKitModal: e2e/src/webwallet/page-objects/Dapps.ts#L65
1) [WebWallet] › src/webwallet/specs/connect.spec.ts:5:7 › Connect › connect from testDapp using starknetKitModal Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.fill: Timeout 120000ms exceeded. Call log: - waiting for locator('[name=password]') at src/webwallet/page-objects/Dapps.ts:65 63 | await page.locator("[name=repeatPassword]").fill(credentials.password) 64 | } else { > 65 | await page.locator("[name=password]").fill(credentials.password) | ^ 66 | } 67 | 68 | await page.locator('button[type="submit"]').click() at Dapps.fillCredentials (/__w/demo-dapp-starknet/demo-dapp-starknet/e2e/src/webwallet/page-objects/Dapps.ts:65:45) at Dapps.requestConnectionFromDapp (/__w/demo-dapp-starknet/demo-dapp-starknet/e2e/src/webwallet/page-objects/Dapps.ts:37:21) at /__w/demo-dapp-starknet/demo-dapp-starknet/e2e/src/webwallet/specs/connect.spec.ts:9:5
[WebWallet] › src/webwallet/specs/connect.spec.ts:17:7 › Connect › connect from testDapp using webwallet connector: e2e/src/webwallet/page-objects/Dapps.ts#L65
2) [WebWallet] › src/webwallet/specs/connect.spec.ts:17:7 › Connect › connect from testDapp using webwallet connector TimeoutError: locator.fill: Timeout 120000ms exceeded. Call log: - waiting for locator('[name=password]') at src/webwallet/page-objects/Dapps.ts:65 63 | await page.locator("[name=repeatPassword]").fill(credentials.password) 64 | } else { > 65 | await page.locator("[name=password]").fill(credentials.password) | ^ 66 | } 67 | 68 | await page.locator('button[type="submit"]').click() at Dapps.fillCredentials (/__w/demo-dapp-starknet/demo-dapp-starknet/e2e/src/webwallet/page-objects/Dapps.ts:65:45) at Dapps.requestConnectionFromDapp (/__w/demo-dapp-starknet/demo-dapp-starknet/e2e/src/webwallet/page-objects/Dapps.ts:44:7) at /__w/demo-dapp-starknet/demo-dapp-starknet/e2e/src/webwallet/specs/connect.spec.ts:21:5
[WebWallet] › src/webwallet/specs/connect.spec.ts:17:7 › Connect › connect from testDapp using webwallet connector: e2e/src/shared/src/SapoEmailClient.ts#L75
2) [WebWallet] › src/webwallet/specs/connect.spec.ts:17:7 › Connect › connect from testDapp using webwallet connector Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: No verification code found within 30000ms at src/shared/src/SapoEmailClient.ts:75 73 | } 74 | > 75 | throw new Error(`No verification code found within ${timeout}ms`); | ^ 76 | } 77 | 78 | async getPin(): Promise<string> { at SapoEmailClient.waitForEmail (/__w/demo-dapp-starknet/demo-dapp-starknet/e2e/src/shared/src/SapoEmailClient.ts:75:15) at SapoEmailClient.getPin (/__w/demo-dapp-starknet/demo-dapp-starknet/e2e/src/shared/src/SapoEmailClient.ts:79:21) at Dapps.fillCredentials (/__w/demo-dapp-starknet/demo-dapp-starknet/e2e/src/webwallet/page-objects/Dapps.ts:57:17) at Dapps.requestConnectionFromDapp (/__w/demo-dapp-starknet/demo-dapp-starknet/e2e/src/webwallet/page-objects/Dapps.ts:44:7) at /__w/demo-dapp-starknet/demo-dapp-starknet/e2e/src/webwallet/specs/connect.spec.ts:21:5
[WebWallet] › src/webwallet/specs/transactions.spec.ts:19:7 › Transactions › send an Multicall from testDapp: e2e/src/webwallet/page-objects/Dapps.ts#L94
3) [WebWallet] › src/webwallet/specs/transactions.spec.ts:19:7 › Transactions › send an Multicall from testDapp Error: page.screenshot: Target page, context or browser has been closed at src/webwallet/page-objects/Dapps.ts:94 92 | .toBeVisible() 93 | .catch(async () => { > 94 | await popup.screenshot({ path: `${artifactsDir}/${randomUUID()}.png` }) | ^ 95 | throw new Error("Email not visible") 96 | }) 97 | } at /__w/demo-dapp-starknet/demo-dapp-starknet/e2e/src/webwallet/page-objects/Dapps.ts:94:21 at Dapps.verifyEmailInPopup (/__w/demo-dapp-starknet/demo-dapp-starknet/e2e/src/webwallet/page-objects/Dapps.ts:91:5) at Dapps.requestConnectionFromDapp (/__w/demo-dapp-starknet/demo-dapp-starknet/e2e/src/webwallet/page-objects/Dapps.ts:38:7) at /__w/demo-dapp-starknet/demo-dapp-starknet/e2e/src/webwallet/specs/transactions.spec.ts:20:18
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
2 passed (27.1s)
🎭 Playwright Run Summary
2 failed [WebWallet] › src/webwallet/specs/connect.spec.ts:5:7 › Connect › connect from testDapp using starknetKitModal [WebWallet] › src/webwallet/specs/connect.spec.ts:17:7 › Connect › connect from testDapp using webwallet connector 1 flaky [WebWallet] › src/webwallet/specs/transactions.spec.ts:19:7 › Transactions › send an Multicall from testDapp 2 passed (6.8m)

Artifacts

Produced during runtime
Name Size
test-artifacts Expired
22.2 MB