Skip to content

chore: webwallet e2e test for tx and sign #90

chore: webwallet e2e test for tx and sign

chore: webwallet e2e test for tx and sign #90

Triggered via pull request December 9, 2024 12:17
@blueccobluecco
synchronize #12
WT-141
Status Failure
Total duration 6m 58s
Artifacts 1

pull-request.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 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#L94
1) [WebWallet] › src/webwallet/specs/connect.spec.ts:5:7 › Connect › connect from testDapp using starknetKitModal 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/connect.spec.ts:9:5
[WebWallet] › src/webwallet/specs/connect.spec.ts:5:7 › Connect › connect from testDapp using starknetKitModal: e2e/src/shared/src/SapoEmailClient.ts#L75
1) [WebWallet] › src/webwallet/specs/connect.spec.ts:5:7 › Connect › connect from testDapp using starknetKitModal 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:37:21) at /__w/demo-dapp-starknet/demo-dapp-starknet/e2e/src/webwallet/specs/connect.spec.ts:9:5
[WebWallet] › src/webwallet/specs/signMessage.spec.ts:5:7 › Sign message › sign a message from testDapp: e2e/src/webwallet/page-objects/Dapps.ts#L65
2) [WebWallet] › src/webwallet/specs/signMessage.spec.ts:5:7 › Sign message › sign a message from testDapp 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/signMessage.spec.ts:6:18
[WebWallet] › src/webwallet/specs/signMessage.spec.ts:5:7 › Sign message › sign a message from testDapp: e2e/src/webwallet/page-objects/Dapps.ts#L94
2) [WebWallet] › src/webwallet/specs/signMessage.spec.ts:5:7 › Sign message › sign a message from testDapp Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── 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/signMessage.spec.ts:6:18
[WebWallet] › src/webwallet/specs/transactions.spec.ts:5:7 › Transactions › send an ERC20 from testDapp: e2e/src/webwallet/page-objects/Dapps.ts#L94
3) [WebWallet] › src/webwallet/specs/transactions.spec.ts:5:7 › Transactions › send an ERC20 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:6:18
[WebWallet] › src/webwallet/specs/transactions.spec.ts:5:7 › Transactions › send an ERC20 from testDapp: e2e/src/webwallet/page-objects/Dapps.ts#L94
3) [WebWallet] › src/webwallet/specs/transactions.spec.ts:5:7 › Transactions › send an ERC20 from testDapp Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── 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:6:18
[WebWallet] › src/webwallet/specs/transactions.spec.ts:19:7 › Transactions › send an Multicall from testDapp: e2e/src/webwallet/page-objects/Dapps.ts#L94
4) [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 (25.3s)
🎭 Playwright Run Summary
3 failed [WebWallet] › src/webwallet/specs/connect.spec.ts:5:7 › Connect › connect from testDapp using starknetKitModal [WebWallet] › src/webwallet/specs/signMessage.spec.ts:5:7 › Sign message › sign a message from testDapp [WebWallet] › src/webwallet/specs/transactions.spec.ts:5:7 › Transactions › send an ERC20 from testDapp 1 flaky [WebWallet] › src/webwallet/specs/transactions.spec.ts:19:7 › Transactions › send an Multicall from testDapp 1 passed (3.9m)

Artifacts

Produced during runtime
Name Size
test-artifacts Expired
31.5 MB