Skip to content

refactor: update to internal segment event client #7049

refactor: update to internal segment event client

refactor: update to internal segment event client #7049

Triggered via pull request November 8, 2024 20:46
Status Failure
Total duration 5m 20s
Artifacts 1

playwright.yml

on: pull_request
Matrix: test
Merge reports
26s
Merge reports
Fit to window
Zoom out
Zoom in

Annotations

8 errors, 26 warnings, and 10 notices
[chromium] › specs/manage-tokens/manage-tokens.spec.ts:18:3 › Manage tokens › that token can be removed from asset list and added back: tests/specs/manage-tokens/manage-tokens.spec.ts#L58
1) [chromium] › specs/manage-tokens/manage-tokens.spec.ts:18:3 › Manage tokens › that token can be removed from asset list and added back Error: Timed out 5000ms waiting for expect(locator).not.toBeAttached() Locator: getByTestId('asset-list').getByTestId('SP265WBWD4NH7TVPYQTVD23X3607NNK4484DTXQZ3.longcoin::longcoin') Expected: not attached Received: attached Call log: - expect.not.toBeAttached with timeout 5000ms - waiting for getByTestId('asset-list').getByTestId('SP265WBWD4NH7TVPYQTVD23X3607NNK4484DTXQZ3.longcoin::longcoin') - locator resolved to <div class="leather-my_space.02" data-testid="SP265WBWD4NH7TVPYQTVD23X3607NNK4484DTXQZ3.longcoin::longcoin">…</div> - unexpected value "true" - locator resolved to <div class="leather-my_space.02" data-testid="SP265WBWD4NH7TVPYQTVD23X3607NNK4484DTXQZ3.longcoin::longcoin">…</div> - unexpected value "true" - locator resolved to <div class="leather-my_space.02" data-testid="SP265WBWD4NH7TVPYQTVD23X3607NNK4484DTXQZ3.longcoin::longcoin">…</div> - unexpected value "true" - locator resolved to <div class="leather-my_space.02" data-testid="SP265WBWD4NH7TVPYQTVD23X3607NNK4484DTXQZ3.longcoin::longcoin">…</div> - unexpected value "true" - locator resolved to <div class="leather-my_space.02" data-testid="SP265WBWD4NH7TVPYQTVD23X3607NNK4484DTXQZ3.longcoin::longcoin">…</div> - unexpected value "true" - locator resolved to <div class="leather-my_space.02" data-testid="SP265WBWD4NH7TVPYQTVD23X3607NNK4484DTXQZ3.longcoin::longcoin">…</div> - unexpected value "true" - locator resolved to <div class="leather-my_space.02" data-testid="SP265WBWD4NH7TVPYQTVD23X3607NNK4484DTXQZ3.longcoin::longcoin">…</div> - unexpected value "true" - locator resolved to <div class="leather-my_space.02" data-testid="SP265WBWD4NH7TVPYQTVD23X3607NNK4484DTXQZ3.longcoin::longcoin">…</div> - unexpected value "true" 56 | 57 | // test that tokens are disabled > 58 | await expect(sip10InAssetList).not.toBeAttached(); | ^ 59 | await expect(brc20InAssetList).not.toBeAttached(); 60 | await expect(src20InAssetList).not.toBeAttached(); 61 | await expect(stx20InAssetList).not.toBeAttached(); at /home/runner/work/extension/extension/tests/specs/manage-tokens/manage-tokens.spec.ts:58:40
[chromium] › specs/manage-tokens/manage-tokens.spec.ts:18:3 › Manage tokens › that token can be removed from asset list and added back: tests/specs/manage-tokens/manage-tokens.spec.ts#L58
1) [chromium] › specs/manage-tokens/manage-tokens.spec.ts:18:3 › Manage tokens › that token can be removed from asset list and added back Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).not.toBeAttached() Locator: getByTestId('asset-list').getByTestId('SP265WBWD4NH7TVPYQTVD23X3607NNK4484DTXQZ3.longcoin::longcoin') Expected: not attached Received: attached Call log: - expect.not.toBeAttached with timeout 5000ms - waiting for getByTestId('asset-list').getByTestId('SP265WBWD4NH7TVPYQTVD23X3607NNK4484DTXQZ3.longcoin::longcoin') - locator resolved to <div class="leather-my_space.02" data-testid="SP265WBWD4NH7TVPYQTVD23X3607NNK4484DTXQZ3.longcoin::longcoin">…</div> - unexpected value "true" - locator resolved to <div class="leather-my_space.02" data-testid="SP265WBWD4NH7TVPYQTVD23X3607NNK4484DTXQZ3.longcoin::longcoin">…</div> - unexpected value "true" - locator resolved to <div class="leather-my_space.02" data-testid="SP265WBWD4NH7TVPYQTVD23X3607NNK4484DTXQZ3.longcoin::longcoin">…</div> - unexpected value "true" - locator resolved to <div class="leather-my_space.02" data-testid="SP265WBWD4NH7TVPYQTVD23X3607NNK4484DTXQZ3.longcoin::longcoin">…</div> - unexpected value "true" - locator resolved to <div class="leather-my_space.02" data-testid="SP265WBWD4NH7TVPYQTVD23X3607NNK4484DTXQZ3.longcoin::longcoin">…</div> - unexpected value "true" - locator resolved to <div class="leather-my_space.02" data-testid="SP265WBWD4NH7TVPYQTVD23X3607NNK4484DTXQZ3.longcoin::longcoin">…</div> - unexpected value "true" - locator resolved to <div class="leather-my_space.02" data-testid="SP265WBWD4NH7TVPYQTVD23X3607NNK4484DTXQZ3.longcoin::longcoin">…</div> - unexpected value "true" - locator resolved to <div class="leather-my_space.02" data-testid="SP265WBWD4NH7TVPYQTVD23X3607NNK4484DTXQZ3.longcoin::longcoin">…</div> - unexpected value "true" - locator resolved to <div class="leather-my_space.02" data-testid="SP265WBWD4NH7TVPYQTVD23X3607NNK4484DTXQZ3.longcoin::longcoin">…</div> - unexpected value "true" 56 | 57 | // test that tokens are disabled > 58 | await expect(sip10InAssetList).not.toBeAttached(); | ^ 59 | await expect(brc20InAssetList).not.toBeAttached(); 60 | await expect(src20InAssetList).not.toBeAttached(); 61 | await expect(stx20InAssetList).not.toBeAttached(); at /home/runner/work/extension/extension/tests/specs/manage-tokens/manage-tokens.spec.ts:58:40
[chromium] › specs/manage-tokens/manage-tokens.spec.ts:18:3 › Manage tokens › that token can be removed from asset list and added back: tests/specs/manage-tokens/manage-tokens.spec.ts#L58
1) [chromium] › specs/manage-tokens/manage-tokens.spec.ts:18:3 › Manage tokens › that token can be removed from asset list and added back Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).not.toBeAttached() Locator: getByTestId('asset-list').getByTestId('SP265WBWD4NH7TVPYQTVD23X3607NNK4484DTXQZ3.longcoin::longcoin') Expected: not attached Received: attached Call log: - expect.not.toBeAttached with timeout 5000ms - waiting for getByTestId('asset-list').getByTestId('SP265WBWD4NH7TVPYQTVD23X3607NNK4484DTXQZ3.longcoin::longcoin') - locator resolved to <div class="leather-my_space.02" data-testid="SP265WBWD4NH7TVPYQTVD23X3607NNK4484DTXQZ3.longcoin::longcoin">…</div> - unexpected value "true" - locator resolved to <div class="leather-my_space.02" data-testid="SP265WBWD4NH7TVPYQTVD23X3607NNK4484DTXQZ3.longcoin::longcoin">…</div> - unexpected value "true" - locator resolved to <div class="leather-my_space.02" data-testid="SP265WBWD4NH7TVPYQTVD23X3607NNK4484DTXQZ3.longcoin::longcoin">…</div> - unexpected value "true" - locator resolved to <div class="leather-my_space.02" data-testid="SP265WBWD4NH7TVPYQTVD23X3607NNK4484DTXQZ3.longcoin::longcoin">…</div> - unexpected value "true" - locator resolved to <div class="leather-my_space.02" data-testid="SP265WBWD4NH7TVPYQTVD23X3607NNK4484DTXQZ3.longcoin::longcoin">…</div> - unexpected value "true" - locator resolved to <div class="leather-my_space.02" data-testid="SP265WBWD4NH7TVPYQTVD23X3607NNK4484DTXQZ3.longcoin::longcoin">…</div> - unexpected value "true" - locator resolved to <div class="leather-my_space.02" data-testid="SP265WBWD4NH7TVPYQTVD23X3607NNK4484DTXQZ3.longcoin::longcoin">…</div> - unexpected value "true" - locator resolved to <div class="leather-my_space.02" data-testid="SP265WBWD4NH7TVPYQTVD23X3607NNK4484DTXQZ3.longcoin::longcoin">…</div> - unexpected value "true" 56 | 57 | // test that tokens are disabled > 58 | await expect(sip10InAssetList).not.toBeAttached(); | ^ 59 | await expect(brc20InAssetList).not.toBeAttached(); 60 | await expect(src20InAssetList).not.toBeAttached(); 61 | await expect(stx20InAssetList).not.toBeAttached(); at /home/runner/work/extension/extension/tests/specs/manage-tokens/manage-tokens.spec.ts:58:40
Shard 2 of 10
Process completed with exit code 1.
[chromium] › specs/rpc-stacks-transaction/transaction-signing.spec.ts:48:3 › Transaction signing › that transaction details are the same after signing multi-signature STX transfer: tests/specs/rpc-stacks-transaction/transaction-signing.spec.ts#L1
1) [chromium] › specs/rpc-stacks-transaction/transaction-signing.spec.ts:48:3 › Transaction signing › that transaction details are the same after signing multi-signature STX transfer Test timeout of 30000ms exceeded.
[chromium] › specs/rpc-stacks-transaction/transaction-signing.spec.ts:48:3 › Transaction signing › that transaction details are the same after signing multi-signature STX transfer: tests/specs/rpc-stacks-transaction/transaction-signing.spec.ts#L38
1) [chromium] › specs/rpc-stacks-transaction/transaction-signing.spec.ts:48:3 › Transaction signing › that transaction details are the same after signing multi-signature STX transfer Error: page.evaluate: Target page, context or browser has been closed 36 | function initiateTxSigning(page: Page) { 37 | return async (txHex: string) => > 38 | page.evaluate( | ^ 39 | async txHex => 40 | (window as any).LeatherProvider.request('stx_signTransaction', { 41 | txHex, at /home/runner/work/extension/extension/tests/specs/rpc-stacks-transaction/transaction-signing.spec.ts:38:12 at /home/runner/work/extension/extension/tests/specs/rpc-stacks-transaction/transaction-signing.spec.ts:63:30
[chromium] › specs/profile/profile.spec.ts:19:3 › Profile updating › should show an error for invalid profile: tests/page-object-models/onboarding.page.ts#L303
1) [chromium] › specs/profile/profile.spec.ts:19:3 › Profile updating › should show an error for invalid profile Error: Unable to initialised wallet state at page-object-models/onboarding.page.ts:303 301 | 302 | do { > 303 | if (iterationCounter.getValue() > 5) throw new Error('Unable to initialised wallet state'); | ^ 304 | 305 | await this.page.evaluate( 306 | async walletState => chrome.storage.local.set({ 'persist:root': walletState }), at OnboardingPage.signInWithTestAccount (/home/runner/work/extension/extension/tests/page-object-models/onboarding.page.ts:303:50) at /home/runner/work/extension/extension/tests/specs/profile/profile.spec.ts:15:5
[chromium] › specs/compliance-checks/compliance-checks.spec.ts:77:3 › Compliance checks › the addresses of all recipients are checked: tests/specs/compliance-checks/compliance-checks.spec.ts#L94
1) [chromium] › specs/compliance-checks/compliance-checks.spec.ts:77:3 › Compliance checks › the addresses of all recipients are checked Error: expect(received).toEqual(expected) // deep equality Expected: 2 Received: 0 92 | const userAndRecipientAddressCount = 2; 93 | > 94 | test.expect(entityCheckCount).toEqual(userAndRecipientAddressCount); | ^ 95 | }); 96 | }); 97 | at /home/runner/work/extension/extension/tests/specs/compliance-checks/compliance-checks.spec.ts:94:35
Shard 2 of 10
The following actions use a deprecated Node.js version and will be forced to run on node20: nick-fields/retry@v2, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Slow Test: [chromium] › specs/manage-transaction/manage-transaction.spec.ts#L1
[chromium] › specs/manage-transaction/manage-transaction.spec.ts took 15.1s
Shard 3 of 10
The following actions use a deprecated Node.js version and will be forced to run on node20: nick-fields/retry@v2, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Slow Test: [chromium] › specs/network/add-network.spec.ts#L1
[chromium] › specs/network/add-network.spec.ts took 1.1m
Slow Test: [chromium] › specs/message-signing/bip322-message-signing.spec.ts#L1
[chromium] › specs/message-signing/bip322-message-signing.spec.ts took 15.7s
Shard 9 of 10
The following actions use a deprecated Node.js version and will be forced to run on node20: nick-fields/retry@v2, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Slow Test: [chromium] › specs/settings/settings.spec.ts#L1
[chromium] › specs/settings/settings.spec.ts took 43.4s
Shard 10 of 10
The following actions use a deprecated Node.js version and will be forced to run on node20: nick-fields/retry@v2, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Slow Test: [chromium] › specs/transactions/transactions.spec.ts#L1
[chromium] › specs/transactions/transactions.spec.ts took 24.4s
Shard 6 of 10
The following actions use a deprecated Node.js version and will be forced to run on node20: nick-fields/retry@v2, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Slow Test: [chromium] › specs/rpc-sign-psbt/sign-psbt.spec.ts#L1
[chromium] › specs/rpc-sign-psbt/sign-psbt.spec.ts took 36.3s
Slow Test: [chromium] › specs/rpc-open/open.spec.ts#L1
[chromium] › specs/rpc-open/open.spec.ts took 19.5s
Shard 4 of 10
The following actions use a deprecated Node.js version and will be forced to run on node20: nick-fields/retry@v2, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Slow Test: [chromium] › specs/onboarding/onboarding.spec.ts#L1
[chromium] › specs/onboarding/onboarding.spec.ts took 56.7s
Shard 5 of 10
The following actions use a deprecated Node.js version and will be forced to run on node20: nick-fields/retry@v2, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Slow Test: [chromium] › specs/rpc-get-addresses/get-addresses.spec.ts#L1
[chromium] › specs/rpc-get-addresses/get-addresses.spec.ts took 1.1m
Shard 7 of 10
The following actions use a deprecated Node.js version and will be forced to run on node20: nick-fields/retry@v2, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Slow Test: [chromium] › specs/send/send-btc.spec.ts#L1
[chromium] › specs/send/send-btc.spec.ts took 48.0s
Slow Test: [chromium] › specs/send/send-inscription.spec.ts#L1
[chromium] › specs/send/send-inscription.spec.ts took 36.9s
Shard 1 of 10
The following actions use a deprecated Node.js version and will be forced to run on node20: nick-fields/retry@v2, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Slow Test: [chromium] › specs/ledger/ledger.spec.ts#L1
[chromium] › specs/ledger/ledger.spec.ts took 46.5s
Slow Test: [chromium] › specs/fund/fund.spec.ts#L1
[chromium] › specs/fund/fund.spec.ts took 15.1s
Shard 8 of 10
The following actions use a deprecated Node.js version and will be forced to run on node20: nick-fields/retry@v2, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Slow Test: [chromium] › specs/send/send-stx.spec.ts#L1
[chromium] › specs/send/send-stx.spec.ts took 1.9m
Merge reports
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/download-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "all-blob-reports". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
🎭 Playwright Run Summary
1 failed [chromium] › specs/manage-tokens/manage-tokens.spec.ts:18:3 › Manage tokens › that token can be removed from asset list and added back 3 passed (1.1m)
🎭 Playwright Run Summary
11 passed (1.4m)
🎭 Playwright Run Summary
6 passed (47.9s)
🎭 Playwright Run Summary
1 skipped 3 passed (38.8s)
🎭 Playwright Run Summary
1 flaky [chromium] › specs/rpc-stacks-transaction/transaction-signing.spec.ts:48:3 › Transaction signing › that transaction details are the same after signing multi-signature STX transfer 8 passed (1.8m)
🎭 Playwright Run Summary
1 flaky [chromium] › specs/profile/profile.spec.ts:19:3 › Profile updating › should show an error for invalid profile 8 passed (1.8m)
🎭 Playwright Run Summary
11 passed (1.4m)
🎭 Playwright Run Summary
11 passed (1.5m)
🎭 Playwright Run Summary
1 flaky [chromium] › specs/compliance-checks/compliance-checks.spec.ts:77:3 › Compliance checks › the addresses of all recipients are checked 15 passed (1.7m)
🎭 Playwright Run Summary
17 passed (2.1m)

Artifacts

Produced during runtime
Name Size
all-blob-reports Expired
9.93 MB