fix(environment-table-autosave)/autosave removes the already added characters in environment table#8410
Open
sachin-thakur-bruno wants to merge 3 commits into
Annotations
10 errors, 1 warning, and 1 notice
|
Run E2E Tests:
tests/grpc/make-request/make-request.spec.ts#L0
3) [default] › tests/grpc/make-request/make-request.spec.ts:22:7 › make grpc requests › make unary request › select unary method
Test timeout of 30000ms exceeded.
|
|
Run E2E Tests:
tests/environments/save-shortcut/save-shortcut.spec.ts#L44
2) [default] › tests/environments/save-shortcut/save-shortcut.spec.ts:26:7 › Environment save shortcut (Cmd/Ctrl+S) › saves a collection environment and shows the success toast › The unsaved-changes dot is gone once saved
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).not.toBeVisible()
Locator: locator('.request-tab.active').getByTestId('tab-draft-icon')
Expected: not visible
Received: visible
Call log:
- expect.not.toBeVisible with timeout 5000ms
- waiting for locator('.request-tab.active').getByTestId('tab-draft-icon')
9 × locator resolved to <span class="draft-icon-wrapper" data-testid="tab-draft-icon">…</span>
- unexpected value "visible"
42 |
43 | await test.step('The unsaved-changes dot is gone once saved', async () => {
> 44 | await expect(tabDraftIcon(page)).not.toBeVisible();
| ^
45 | });
46 | });
47 | });
at /home/runner/work/usebruno-bruno/bruno/bruno/tests/environments/save-shortcut/save-shortcut.spec.ts:44:44
at /home/runner/work/usebruno-bruno/bruno/bruno/tests/environments/save-shortcut/save-shortcut.spec.ts:43:16
|
|
Run E2E Tests:
tests/environments/save-shortcut/save-shortcut.spec.ts#L44
2) [default] › tests/environments/save-shortcut/save-shortcut.spec.ts:26:7 › Environment save shortcut (Cmd/Ctrl+S) › saves a collection environment and shows the success toast › The unsaved-changes dot is gone once saved
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).not.toBeVisible()
Locator: locator('.request-tab.active').getByTestId('tab-draft-icon')
Expected: not visible
Received: visible
Call log:
- expect.not.toBeVisible with timeout 5000ms
- waiting for locator('.request-tab.active').getByTestId('tab-draft-icon')
9 × locator resolved to <span class="draft-icon-wrapper" data-testid="tab-draft-icon">…</span>
- unexpected value "visible"
42 |
43 | await test.step('The unsaved-changes dot is gone once saved', async () => {
> 44 | await expect(tabDraftIcon(page)).not.toBeVisible();
| ^
45 | });
46 | });
47 | });
at /home/runner/work/usebruno-bruno/bruno/bruno/tests/environments/save-shortcut/save-shortcut.spec.ts:44:44
at /home/runner/work/usebruno-bruno/bruno/bruno/tests/environments/save-shortcut/save-shortcut.spec.ts:43:16
|
|
Run E2E Tests:
tests/environments/save-shortcut/save-shortcut.spec.ts#L44
2) [default] › tests/environments/save-shortcut/save-shortcut.spec.ts:26:7 › Environment save shortcut (Cmd/Ctrl+S) › saves a collection environment and shows the success toast › The unsaved-changes dot is gone once saved
Error: Timed out 5000ms waiting for expect(locator).not.toBeVisible()
Locator: locator('.request-tab.active').getByTestId('tab-draft-icon')
Expected: not visible
Received: visible
Call log:
- expect.not.toBeVisible with timeout 5000ms
- waiting for locator('.request-tab.active').getByTestId('tab-draft-icon')
9 × locator resolved to <span class="draft-icon-wrapper" data-testid="tab-draft-icon">…</span>
- unexpected value "visible"
42 |
43 | await test.step('The unsaved-changes dot is gone once saved', async () => {
> 44 | await expect(tabDraftIcon(page)).not.toBeVisible();
| ^
45 | });
46 | });
47 | });
at /home/runner/work/usebruno-bruno/bruno/bruno/tests/environments/save-shortcut/save-shortcut.spec.ts:44:44
at /home/runner/work/usebruno-bruno/bruno/bruno/tests/environments/save-shortcut/save-shortcut.spec.ts:43:16
|
|
Run E2E Tests:
playwright/index.ts#L71
1) [default] › tests/environments/global-env-workspace-persistence/global-env-workspace-persistence.spec.ts:50:7 › Global Environment Per-Workspace Persistence › should maintain independent global env selections per workspace
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.waitFor: Target page, context or browser has been closed
Call log:
- waiting for locator('[data-app-state="loaded"]') to be visible
at playwright/index.ts:71
69 | }
70 |
> 71 | await page.locator('[data-app-state="loaded"]').waitFor({ timeout });
| ^
72 | await page.waitForTimeout(200);
73 |
74 | return page;
at waitForReadyPage (/home/runner/work/usebruno-bruno/bruno/bruno/playwright/index.ts:71:51)
at /home/runner/work/usebruno-bruno/bruno/bruno/tests/environments/global-env-workspace-persistence/global-env-workspace-persistence.spec.ts:90:19
|
|
Run E2E Tests:
tests/environments/global-env-workspace-persistence/global-env-workspace-persistence.spec.ts#L0
1) [default] › tests/environments/global-env-workspace-persistence/global-env-workspace-persistence.spec.ts:50:7 › Global Environment Per-Workspace Persistence › should maintain independent global env selections per workspace
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
|
Run E2E Tests:
tests/environments/global-env-workspace-persistence/global-env-workspace-persistence.spec.ts#L0
1) [default] › tests/environments/global-env-workspace-persistence/global-env-workspace-persistence.spec.ts:50:7 › Global Environment Per-Workspace Persistence › should maintain independent global env selections per workspace
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
|
Run E2E Tests:
playwright/index.ts#L71
1) [default] › tests/environments/global-env-workspace-persistence/global-env-workspace-persistence.spec.ts:50:7 › Global Environment Per-Workspace Persistence › should maintain independent global env selections per workspace
Error: locator.waitFor: Target page, context or browser has been closed
Call log:
- waiting for locator('[data-app-state="loaded"]') to be visible
at playwright/index.ts:71
69 | }
70 |
> 71 | await page.locator('[data-app-state="loaded"]').waitFor({ timeout });
| ^
72 | await page.waitForTimeout(200);
73 |
74 | return page;
at waitForReadyPage (/home/runner/work/usebruno-bruno/bruno/bruno/playwright/index.ts:71:51)
at /home/runner/work/usebruno-bruno/bruno/bruno/tests/environments/global-env-workspace-persistence/global-env-workspace-persistence.spec.ts:90:19
|
|
Run E2E Tests:
tests/environments/global-env-workspace-persistence/global-env-workspace-persistence.spec.ts#L0
1) [default] › tests/environments/global-env-workspace-persistence/global-env-workspace-persistence.spec.ts:50:7 › Global Environment Per-Workspace Persistence › should maintain independent global env selections per workspace
Test timeout of 30000ms exceeded.
|
|
Run E2E Tests
Worker teardown timeout of 30000ms exceeded.
Failed worker ran 13 tests, last 10 tests were:
[default] › tests/shortcuts/sidebar-actions.spec.ts:243:13 › Shortcut Keys - BOUND_ACTIONS › SIDEBAR › SHORTCUT: Clone Item › SHORTCUT: Clone Item for request (Cmd/Ctrl+D) › default Cmd/Ctrl+D open clone item modal for request
[default] › tests/shortcuts/sidebar-actions.spec.ts:318:13 › Shortcut Keys - BOUND_ACTIONS › SIDEBAR › SHORTCUT: Clone Item › SHORTCUT: Clone Item for folder (customized Alt+D) › customized Alt+D open clone item modal for folder
[default] › tests/shortcuts/sidebar-actions.spec.ts:369:13 › Shortcut Keys - BOUND_ACTIONS › SIDEBAR › SHORTCUT: Copy Paste Item › SHORTCUT: Copy Paste Item for request (customized Alt+C/V) › customized Alt+C/V copy paste item for request
[default] › tests/shortcuts/tabs-actions.spec.ts:112:11 › Shortcut Keys - BOUND_ACTIONS › TABS › SHORTCUT: Close Tab (Unsaved changes modal) › Close active tab customized (Shift+X) shows unsaved changes modal for folder
[default] › tests/shortcuts/tabs-actions.spec.ts:208:11 › Shortcut Keys - BOUND_ACTIONS › TABS › SHORTCUT: Close All Tabs › Close all tabs customized (Alt+Y)
[default] › tests/shortcuts/tabs-actions.spec.ts:463:11 › Shortcut Keys - BOUND_ACTIONS › TABS › SHORTCUT: Switch to Previous Tab › Switch to Previous Tab default (Cmd/Ctrl+Shift+[)
[default] › tests/shortcuts/tabs-actions.spec.ts:552:11 › Shortcut Keys - BOUND_ACTIONS › TABS › SHORTCUT: Move Tab Left › Move Tab Left default (Cmd/Ctrl+[)
[default] › tests/shortcuts/tabs-actions.spec.ts:676:11 › Shortcut Keys - BOUND_ACTIONS › TABS › SHORTCUT: Switch to Tab at Position › Switch to Tab at Position default (Cmd/Ctrl+1-8)
[default] › tests/sidebar/section-auto-expand.spec.ts:31:7 › Sidebar Section Auto-Expand › Clicking action button on already expanded section should keep it expanded
[default] › tests/snapshots/basic.spec.ts:64:7 › Snapshot: Tab Persistence › open tabs are restored after app restart in the same order
|
|
Complete job
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Run E2E Tests
33 failed
[default] › tests/environments/global-env-workspace-persistence/global-env-workspace-persistence.spec.ts:50:7 › Global Environment Per-Workspace Persistence › should maintain independent global env selections per workspace
[default] › tests/environments/save-shortcut/save-shortcut.spec.ts:26:7 › Environment save shortcut (Cmd/Ctrl+S) › saves a collection environment and shows the success toast
[default] › tests/grpc/make-request/make-request.spec.ts:22:7 › make grpc requests › make unary request
[default] › tests/grpc/make-request/make-request.spec.ts:62:7 › make grpc requests › make server streaming request
[default] › tests/grpc/make-request/make-request.spec.ts:103:7 › make grpc requests › make client streaming request
[default] › tests/grpc/make-request/make-request.spec.ts:160:7 › make grpc requests › make bidi streaming request
[default] › tests/grpc/make-request/make-request.spec.ts:219:7 › make grpc requests › cancel client streaming request
[default] › tests/grpc/make-request/make-request.spec.ts:257:7 › make grpc requests › cancel bidi streaming request
[default] › tests/grpc/metadata/with-bin-metadata.spec.ts:9:7 › grpc metadata › should handle binary metadata
[default] › tests/grpc/method-search/grpc-method-search.spec.ts:23:7 › Grpc Collection - Method Search Functionality › Search for grpc methods using the search input
[default] › tests/grpc/method-search/grpc-method-search.spec.ts:52:7 › Grpc Collection - Method Search Functionality › Search for grpc methods using the keyboard
[default] › tests/grpc/multi-message-yml/multi-message.spec.ts:34:9 › grpc multi-message (yml format) › creates a gRPC request with multiple messages and saves it
[default] › tests/grpc/multi-message-yml/multi-message.spec.ts:34:9 › grpc multi-message (bru format) › creates a gRPC request with multiple messages and saves it
[default] › tests/shortcuts/request-actions.spec.ts:25:11 › Shortcut Keys - BOUND_ACTIONS › REQUESTS › SHORTCUT: Send Request (Cmd/Ctrl+Enter) › sends request when cursor is in JSON body editor
[default] › tests/shortcuts/request-actions.spec.ts:51:11 › Shortcut Keys - BOUND_ACTIONS › REQUESTS › SHORTCUT: Send Request (Cmd/Ctrl+Enter) › sends request when cursor is in response body editor
[default] › tests/shortcuts/request-actions.spec.ts:117:11 › Shortcut Keys - BOUND_ACTIONS › REQUESTS › SHORTCUT: Send Request (customized Shift+Enter) › sends request when cursor is in JSON body editor
[default] › tests/snapshots/basic.spec.ts:64:7 › Snapshot: Tab Persistence › open tabs are restored after app restart in the same order
[default] › tests/snapshots/basic.spec.ts:106:7 › Snapshot: Tab Persistence › active tab is remembered after restart
[default] › tests/snapshots/basic.spec.ts:140:7 › Snapshot: Tab Persistence › closed tab stays closed after restart
[default] › tests/snapshots/basic.spec.ts:432:7 › Snapshot: Collection State › collection expanded state persists after restart
[default] › tests/snapshots/basic.spec.ts:547:7 › Snapshot: Multi-Workspace Tab Isolation › same collection in two workspaces keeps tabs isolated after restart
[default] › tests/snapshots/basic.spec.ts:784:7 › Snapshot: Basic Request Movement › requests interactivity is also restored
[default] › tests/snapshots/basic.spec.ts:821:7 › Snapshot: Basic Request Movement › graphql request pane tab interactivity is restored after restart
[default] › tests/snapshots/global-tabs.spec.ts:12:7 › Snapshot: Global Tab Restoration › preferences and global environment tabs are restored and reusable after restart
[default] › tests/snapshots/request-pane-interactivity.spec.ts:41:7 › Snapshot: Request Pane Interactivity › grpc request pane tab interactivity is restored after restart
[default] › tests/snapshots/request-pane-interactivity.spec.ts:88:7 › Snapsho
|
background
wait
wait-all
cancel
parallel
Loading