Skip to content

chore: webwallet e2e test for tx and sign #92

chore: webwallet e2e test for tx and sign

chore: webwallet e2e test for tx and sign #92

Triggered via pull request December 9, 2024 16:08
@blueccobluecco
synchronize #12
WT-141
Status Failure
Total duration 13m 25s
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/transactions.spec.ts:19:7 › Transactions › send an Multicall from testDapp: e2e/src/webwallet/page-objects/Dapps.ts#L94
1) [WebWallet] › src/webwallet/specs/transactions.spec.ts:19:7 › Transactions › send an Multicall from testDapp TimeoutError: page.waitForEvent: Timeout 120000ms exceeded while waiting for event "popup" =========================== logs =========================== waiting for event "popup" ============================================================ at src/webwallet/page-objects/Dapps.ts:94 92 | type: "ERC20" | "Multicall" 93 | }) { > 94 | const popupPromise = dapp.waitForEvent("popup") | ^ 95 | const dialogPromise = dapp.waitForEvent("dialog") 96 | console.log("Sending ERC20 transaction") 97 | await dapp.locator('button :text-is("Transactions")').click() at Dapps.sendERC20transaction (/__w/demo-dapp-starknet/demo-dapp-starknet/e2e/src/webwallet/page-objects/Dapps.ts:94:31) at /__w/demo-dapp-starknet/demo-dapp-starknet/e2e/src/webwallet/specs/transactions.spec.ts:27:27
[WebWallet] › src/webwallet/specs/transactions.spec.ts:19:7 › Transactions › send an Multicall from testDapp: e2e/src/webwallet/page-objects/Dapps.ts#L97
1) [WebWallet] › src/webwallet/specs/transactions.spec.ts:19:7 › Transactions › send an Multicall from testDapp TimeoutError: locator.click: Timeout 120000ms exceeded. Call log: - waiting for locator('button :text-is("Transactions")') - locator resolved to <div class="flex items-center gap-2">Transactions</div> - attempting click action - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #1 - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #2 - waiting 20ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #3 - waiting 100ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #4 - waiting 100ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #5 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #6 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #7 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #8 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #9 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #10 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #11 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #12 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #13 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #14 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #15 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #16 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #17 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #18 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #19 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #20 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #21 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #22 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #23 - wa
[WebWallet] › src/webwallet/specs/transactions.spec.ts:19:7 › Transactions › send an Multicall from testDapp: e2e/src/webwallet/page-objects/Dapps.ts#L62
1) [WebWallet] › src/webwallet/specs/transactions.spec.ts:19:7 › Transactions › send an Multicall from testDapp Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.fill: Timeout 120000ms exceeded. Call log: - waiting for locator('[name=password]') at src/webwallet/page-objects/Dapps.ts:62 60 | await page.locator("[name=repeatPassword]").fill(credentials.password) 61 | } else { > 62 | await page.locator("[name=password]").fill(credentials.password) | ^ 63 | } 64 | 65 | await page.locator('button[type="submit"]').click() at Dapps.fillCredentials (/__w/demo-dapp-starknet/demo-dapp-starknet/e2e/src/webwallet/page-objects/Dapps.ts:62:45) at Dapps.requestConnectionFromDapp (/__w/demo-dapp-starknet/demo-dapp-starknet/e2e/src/webwallet/page-objects/Dapps.ts:34:7) at /__w/demo-dapp-starknet/demo-dapp-starknet/e2e/src/webwallet/specs/transactions.spec.ts:20:18
[WebWallet] › src/webwallet/specs/transactions.spec.ts:5:7 › Transactions › send an ERC20 from testDapp: e2e/src/webwallet/page-objects/Dapps.ts#L94
2) [WebWallet] › src/webwallet/specs/transactions.spec.ts:5:7 › Transactions › send an ERC20 from testDapp TimeoutError: page.waitForEvent: Timeout 120000ms exceeded while waiting for event "popup" =========================== logs =========================== waiting for event "popup" ============================================================ at src/webwallet/page-objects/Dapps.ts:94 92 | type: "ERC20" | "Multicall" 93 | }) { > 94 | const popupPromise = dapp.waitForEvent("popup") | ^ 95 | const dialogPromise = dapp.waitForEvent("dialog") 96 | console.log("Sending ERC20 transaction") 97 | await dapp.locator('button :text-is("Transactions")').click() at Dapps.sendERC20transaction (/__w/demo-dapp-starknet/demo-dapp-starknet/e2e/src/webwallet/page-objects/Dapps.ts:94:31) at /__w/demo-dapp-starknet/demo-dapp-starknet/e2e/src/webwallet/specs/transactions.spec.ts:13:27
[WebWallet] › src/webwallet/specs/transactions.spec.ts:5:7 › Transactions › send an ERC20 from testDapp: e2e/src/webwallet/page-objects/Dapps.ts#L97
2) [WebWallet] › src/webwallet/specs/transactions.spec.ts:5:7 › Transactions › send an ERC20 from testDapp TimeoutError: locator.click: Timeout 120000ms exceeded. Call log: - waiting for locator('button :text-is("Transactions")') - locator resolved to <div class="flex items-center gap-2">Transactions</div> - attempting click action - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #1 - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #2 - waiting 20ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #3 - waiting 100ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #4 - waiting 100ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #5 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #6 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #7 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #8 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #9 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #10 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #11 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #12 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #13 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #14 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #15 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #16 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #17 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #18 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #19 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #20 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #21 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #22 - waiting 500ms - waiting for element to be visible, enabled and stable - element is not enabled - retrying click action, attempt #23 - waiting
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 (28.2s)
🎭 Playwright Run Summary
1 failed [WebWallet] › src/webwallet/specs/transactions.spec.ts:19:7 › Transactions › send an Multicall from testDapp 1 flaky [WebWallet] › src/webwallet/specs/transactions.spec.ts:5:7 › Transactions › send an ERC20 from testDapp 3 passed (10.3m)

Artifacts

Produced during runtime
Name Size
test-artifacts Expired
13 MB