Skip to content

chore: improve open API and add tests, ref leather-io/issues#5800 #6714

chore: improve open API and add tests, ref leather-io/issues#5800

chore: improve open API and add tests, ref leather-io/issues#5800 #6714

Triggered via pull request September 3, 2024 07:56
Status Cancelled
Total duration 4m 36s
Artifacts 1

playwright.yml

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

Annotations

19 errors, 10 warnings, and 4 notices
[chromium] › specs/rpc-open/open.spec.ts:50:3 › Rpc: Open › the promise rejects when user closes the popup window: tests/specs/rpc-open/open.spec.ts#L55
1) [chromium] › specs/rpc-open/open.spec.ts:50:3 › Rpc: Open › the promise rejects when user closes the popup window Error: expect(received).rejects.toThrow() Received promise resolved instead of rejected Resolved to value: {"id": "12818001-6337-4999-8963-da11d43e7fee", "jsonrpc": "2.0", "result": {"message": "Success"}} 53 | const popup = await interceptRequestPopup(context); 54 | await popup.close(); > 55 | await test.expect(openPromise).rejects.toThrow(); | ^ 56 | }); 57 | 58 | test('it forces user to unlock wallet when wallet is locked', async ({ at /home/runner/work/extension/extension/tests/specs/rpc-open/open.spec.ts:55:44
[chromium] › specs/rpc-open/open.spec.ts:50:3 › Rpc: Open › the promise rejects when user closes the popup window: tests/specs/rpc-open/open.spec.ts#L55
1) [chromium] › specs/rpc-open/open.spec.ts:50:3 › Rpc: Open › the promise rejects when user closes the popup window Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).rejects.toThrow() Received promise resolved instead of rejected Resolved to value: {"id": "07acf4b0-9b11-4503-9e72-5315cd833ab1", "jsonrpc": "2.0", "result": {"message": "Success"}} 53 | const popup = await interceptRequestPopup(context); 54 | await popup.close(); > 55 | await test.expect(openPromise).rejects.toThrow(); | ^ 56 | }); 57 | 58 | test('it forces user to unlock wallet when wallet is locked', async ({ at /home/runner/work/extension/extension/tests/specs/rpc-open/open.spec.ts:55:44
[chromium] › specs/rpc-open/open.spec.ts:50:3 › Rpc: Open › the promise rejects when user closes the popup window: tests/specs/rpc-open/open.spec.ts#L55
1) [chromium] › specs/rpc-open/open.spec.ts:50:3 › Rpc: Open › the promise rejects when user closes the popup window Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).rejects.toThrow() Received promise resolved instead of rejected Resolved to value: {"id": "edb44f43-d1f2-4030-bd9a-3ea21e9223d7", "jsonrpc": "2.0", "result": {"message": "Success"}} 53 | const popup = await interceptRequestPopup(context); 54 | await popup.close(); > 55 | await test.expect(openPromise).rejects.toThrow(); | ^ 56 | }); 57 | 58 | test('it forces user to unlock wallet when wallet is locked', async ({ at /home/runner/work/extension/extension/tests/specs/rpc-open/open.spec.ts:55:44
Shard 5 of 10
Process completed with exit code 1.
Shard 4 of 10
Canceling since a higher priority waiting request for 'Integration tests-refs/pull/5835/merge' exists
Shard 4 of 10
No files were found with the provided path: blob-report. No artifacts will be uploaded.
Shard 4 of 10
The operation was canceled.
Shard 6 of 10
Canceling since a higher priority waiting request for 'Integration tests-refs/pull/5835/merge' exists
Shard 6 of 10
No files were found with the provided path: blob-report. No artifacts will be uploaded.
Shard 6 of 10
The operation was canceled.
Shard 7 of 10
Canceling since a higher priority waiting request for 'Integration tests-refs/pull/5835/merge' exists
Shard 7 of 10
The operation was canceled.
Shard 7 of 10
No files were found with the provided path: blob-report. No artifacts will be uploaded.
Shard 3 of 10
Canceling since a higher priority waiting request for 'Integration tests-refs/pull/5835/merge' exists
Shard 3 of 10
The operation was canceled.
Shard 3 of 10
No files were found with the provided path: blob-report. No artifacts will be uploaded.
Shard 1 of 10
Canceling since a higher priority waiting request for 'Integration tests-refs/pull/5835/merge' exists
Shard 1 of 10
No files were found with the provided path: blob-report. No artifacts will be uploaded.
Shard 1 of 10
The operation was canceled.
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/message-signing/bip322-message-signing.spec.ts#L1
[chromium] › specs/message-signing/bip322-message-signing.spec.ts took 17.6s
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/
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 35.0s
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/
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 48.8s
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
2 passed (21.5s)
🎭 Playwright Run Summary
1 skipped 3 passed (46.5s)
🎭 Playwright Run Summary
1 failed [chromium] › specs/rpc-open/open.spec.ts:50:3 › Rpc: Open › the promise rejects when user closes the popup window 2 passed (54.2s)
🎭 Playwright Run Summary
5 passed (52.7s)

Artifacts

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