chore: add defensive code and better analytics for broadcast errors, … #5606
Annotations
2 errors, 2 warnings, and 1 notice
Run Playwright tests:
tests/specs/rpc-get-addresses/get-addresses.spec.ts#L11
1) [chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:111:7 › Rpc: GetAddresses › softwareWallet › the promise rejects when user closes popup window
Test timeout of 30000ms exceeded while running "beforeEach" hook.
9 | function softwareBeforeEach() {
10 | return () =>
> 11 | test.beforeEach(
| ^
12 | async ({ extensionId, onboardingPage }) =>
13 | await onboardingPage.signInWithTestAccount(extensionId)
14 | );
at /home/runner/work/extension/extension/tests/specs/rpc-get-addresses/get-addresses.spec.ts:11:10
|
Run Playwright tests:
tests/page-object-models/onboarding.page.ts#L284
1) [chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:111:7 › Rpc: GetAddresses › softwareWallet › the promise rejects when user closes popup window
Error: locator.isVisible: Target page, context or browser has been closed
Call log:
- checking visibility of getByText('Enter your password')
at page-object-models/onboarding.page.ts:284
282 | */
283 | async signInWithTestAccount(id: string) {
> 284 | const isUnlockPage = async () => await this.page.getByText('Enter your password').isVisible();
| ^
285 | while (!(await isUnlockPage())) {
286 | await this.page.evaluate(
287 | async walletState => await chrome.storage.local.set({ 'persist:root': walletState }),
at isUnlockPage (/home/runner/work/extension/extension/tests/page-object-models/onboarding.page.ts:284:87)
at OnboardingPage.signInWithTestAccount (/home/runner/work/extension/extension/tests/page-object-models/onboarding.page.ts:285:20)
at /home/runner/work/extension/extension/tests/specs/rpc-get-addresses/get-addresses.spec.ts:13:9
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: nick-fields/retry@v2, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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/
|
Run Playwright tests
1 flaky
[chromium] › specs/rpc-get-addresses/get-addresses.spec.ts:111:7 › Rpc: GetAddresses › softwareWallet › the promise rejects when user closes popup window
8 passed (2.3m)
|
Loading