feat(sqlite): encrypt stored runner request and response - #9210
Open
chirag-bruno wants to merge 2 commits into
Open
feat(sqlite): encrypt stored runner request and response#9210chirag-bruno wants to merge 2 commits into
chirag-bruno wants to merge 2 commits into
Annotations
10 errors, 1 warning, and 1 notice
|
Run E2E Tests:
tests\environments\environment-inheritance\collection-env-inheritance-from-fixture.spec.ts#L150
8) [default] › tests\environments\environment-inheritance\collection-env-inheritance-from-fixture.spec.ts:111:7 › Collection environment inheritance › an environment shows its ancestor rows, with their values and data types › An own row replaces the inherited data type, not just the value
Error: expect(locator).toHaveText(expected) failed
Locator: getByTestId('env-var-row-typed_override').getByTestId(/^test-multiline-editor-\d+\.value$/).locator('.CodeMirror-line').first()
Expected: "overridden_in_dev"
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "toHaveText" with timeout 5000ms
- waiting for getByTestId('env-var-row-typed_override').getByTestId(/^test-multiline-editor-\d+\.value$/).locator('.CodeMirror-line').first()
148 | await test.step('An own row replaces the inherited data type, not just the value', async () => {
149 | await expect(environment.inheritedVarRow('typed_override')).toHaveCount(0);
> 150 | await expect(environment.varRowLine('typed_override')).toHaveText('overridden_in_dev');
| ^
151 | await expect(dataTypeSelector.typeLabel(environment.varRow('typed_override'))).toHaveAttribute(
152 | 'data-selected-type',
153 | 'string'
at D:\a\bruno\bruno\tests\environments\environment-inheritance\collection-env-inheritance-from-fixture.spec.ts:150:62
at D:\a\bruno\bruno\tests\environments\environment-inheritance\collection-env-inheritance-from-fixture.spec.ts:148:5
|
|
Run E2E Tests:
tests\utils\page\actions.ts#L126
7) [default] › tests\environments\collection-default-environment\collection-default-environment.spec.ts:47:7 › Collection Default Environment › resolves request variables from the default environment (verified in Timeline) › Open collection and confirm default applied › Open collection "collection-default-environment"
Error: locator.click: Target page, context or browser has been closed
Call log:
- waiting for locator('#sidebar-collection-name').filter({ hasText: 'collection-default-environment' })
at tests\utils\page\actions.ts:126
124 | const openCollection = async (page: Page, collectionName: string) => {
125 | await test.step(`Open collection "${collectionName}"`, async () => {
> 126 | await page.locator('#sidebar-collection-name').filter({ hasText: collectionName }).click();
| ^
127 | });
128 | };
129 |
at D:\a\bruno\bruno\tests\utils\page\actions.ts:126:88
at openCollection (D:\a\bruno\bruno\tests\utils\page\actions.ts:125:3)
at D:\a\bruno\bruno\tests\environments\collection-default-environment\collection-default-environment.spec.ts:53:7
at D:\a\bruno\bruno\tests\environments\collection-default-environment\collection-default-environment.spec.ts:52:5
|
|
Run E2E Tests:
tests\environments\collection-default-environment\collection-default-environment.spec.ts#L0
7) [default] › tests\environments\collection-default-environment\collection-default-environment.spec.ts:47:7 › Collection Default Environment › resolves request variables from the default environment (verified in Timeline) › Open collection and confirm default applied › Open collection "collection-default-environment"
Test timeout of 30000ms exceeded.
|
|
Run E2E Tests:
tests\collection\migrate-to-yml-drafts\transient-blocks-save-all.spec.ts#L71
6) [default] › tests\collection\migrate-to-yml-drafts\transient-blocks-save-all.spec.ts:25:7 › Migrate to YML — a transient request blocks Save All until it is saved › save the transient via its per-item Save button, then Save All completes migration › Save All completes migration
Error: expect(locator).toBeVisible() failed
Locator: getByText('Collection migrated to YML format successfully')
Expected: visible
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 30000ms
- waiting for getByText('Collection migrated to YML format successfully')
- Target page, context or browser has been closed
69 | await test.step('Save All completes migration', async () => {
70 | await saveAllDraftsAndMigrate(page);
> 71 | await expect(page.getByText('Collection migrated to YML format successfully')).toBeVisible({ timeout: 30000 });
| ^
72 | });
73 |
74 | await test.step('The saved request survives as a .yml on disk', async () => {
at D:\a\bruno\bruno\tests\collection\migrate-to-yml-drafts\transient-blocks-save-all.spec.ts:71:86
at D:\a\bruno\bruno\tests\collection\migrate-to-yml-drafts\transient-blocks-save-all.spec.ts:69:5
|
|
Run E2E Tests:
tests\collection\migrate-to-yml-drafts\transient-blocks-save-all.spec.ts#L0
6) [default] › tests\collection\migrate-to-yml-drafts\transient-blocks-save-all.spec.ts:25:7 › Migrate to YML — a transient request blocks Save All until it is saved › save the transient via its per-item Save button, then Save All completes migration › Save All completes migration
Test timeout of 30000ms exceeded.
|
|
Run E2E Tests:
tests\utils\page\actions.ts#L2172
5) [default] › tests\apps\collection-apps.spec.ts:205:7 › Collection apps › bru.ctx.collection exposes the active collection › Save request
Error: expect(locator).toBeVisible() failed
Locator: getByText('Request saved successfully').last()
Expected: visible
Timeout: 3000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 3000ms
- waiting for getByText('Request saved successfully').last()
at tests\utils\page\actions.ts:2172
2170 | const saveShortcut = process.platform === 'darwin' ? 'Meta+s' : 'Control+s';
2171 | await page.keyboard.press(saveShortcut);
> 2172 | await expect(page.getByText('Request saved successfully').last()).toBeVisible({ timeout: 3000 });
| ^
2173 | await page.waitForTimeout(200);
2174 | });
2175 | };
at D:\a\bruno\bruno\tests\utils\page\actions.ts:2172:71
at saveRequest (D:\a\bruno\bruno\tests\utils\page\actions.ts:2169:3)
at D:\a\bruno\bruno\tests\apps\collection-apps.spec.ts:211:5
|
|
Run E2E Tests:
tests\utils\page\actions.ts#L2172
4) [default] › tests\apps\collection-apps.spec.ts:149:7 › Collection apps › bru.ctx.runRequest executes a request by pathname and reflects the response › Save request
Error: expect(locator).toBeVisible() failed
Locator: getByText('Request saved successfully').last()
Expected: visible
Timeout: 3000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 3000ms
- waiting for getByText('Request saved successfully').last()
at tests\utils\page\actions.ts:2172
2170 | const saveShortcut = process.platform === 'darwin' ? 'Meta+s' : 'Control+s';
2171 | await page.keyboard.press(saveShortcut);
> 2172 | await expect(page.getByText('Request saved successfully').last()).toBeVisible({ timeout: 3000 });
| ^
2173 | await page.waitForTimeout(200);
2174 | });
2175 | };
at D:\a\bruno\bruno\tests\utils\page\actions.ts:2172:71
at saveRequest (D:\a\bruno\bruno\tests\utils\page\actions.ts:2169:3)
at D:\a\bruno\bruno\tests\apps\collection-apps.spec.ts:167:5
|
|
Run E2E Tests:
tests\utils\page\actions.ts#L2172
3) [default] › tests\apps\collection-apps.spec.ts:188:7 › Collection apps › bru.ctx.variables.runtime.set persists into bru.ctx.variables.resolved › Save request
Error: expect(locator).toBeVisible() failed
Locator: getByText('Request saved successfully').last()
Expected: visible
Timeout: 3000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 3000ms
- waiting for getByText('Request saved successfully').last()
at tests\utils\page\actions.ts:2172
2170 | const saveShortcut = process.platform === 'darwin' ? 'Meta+s' : 'Control+s';
2171 | await page.keyboard.press(saveShortcut);
> 2172 | await expect(page.getByText('Request saved successfully').last()).toBeVisible({ timeout: 3000 });
| ^
2173 | await page.waitForTimeout(200);
2174 | });
2175 | };
at D:\a\bruno\bruno\tests\utils\page\actions.ts:2172:71
at saveRequest (D:\a\bruno\bruno\tests\utils\page\actions.ts:2169:3)
at D:\a\bruno\bruno\tests\apps\collection-apps.spec.ts:194:5
|
|
Run E2E Tests:
tests\apps\apps-ctx-api.spec.ts#L198
2) [default] › tests\apps\apps-ctx-api.spec.ts:180:7 › Apps - ctx API › bru.ctx.variables.runtime.set persists for subsequent sends
Error: expect(received).toBe(expected) // Object.is equality
Expected: "viaSet"
Received: undefined
Call Log:
- Timeout 15000ms exceeded while waiting on the predicate
196 | await expect
197 | .poll(() => guestEval(electronApp, `window.bru && window.bru.ctx.variables.resolved && window.bru.ctx.variables.resolved.q`), { timeout: 15000 })
> 198 | .toBe('viaSet');
| ^
199 | await guestEval(electronApp, 'void window.__send()');
200 | await expect.poll(() => guestResult(electronApp), { timeout: 15000 }).toBe('viaSet');
201 | });
at D:\a\bruno\bruno\tests\apps\apps-ctx-api.spec.ts:198:8
|
|
Run E2E Tests:
tests\apps\apps-ctx-api.spec.ts#L171
1) [default] › tests\apps\apps-ctx-api.spec.ts:157:7 › Apps - ctx API › bru.ctx.submitRequest sends the request and resolves with the response › runtimeVariables override the request body
Error: expect(received).toBe(expected) // Object.is equality
Expected: "reflectme"
Received: "pending"
Call Log:
- Timeout 15000ms exceeded while waiting on the predicate
169 | await test.step('runtimeVariables override the request body', async () => {
170 | await guestEval(electronApp, `void window.__send({ runtimeVariables: { q: 'reflectme' } })`);
> 171 | await expect.poll(() => guestResult(electronApp), { timeout: 15000 }).toBe('reflectme');
| ^
172 | });
173 |
174 | await test.step('a subsequent runtimeVariables override is honoured', async () => {
at D:\a\bruno\bruno\tests\apps\apps-ctx-api.spec.ts:171:77
at D:\a\bruno\bruno\tests\apps\apps-ctx-api.spec.ts:169:5
|
|
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
21 failed
[default] › tests\environments\environment-inheritance\collection-env-inheritance-from-fixture.spec.ts:111:7 › Collection environment inheritance › an environment shows its ancestor rows, with their values and data types
[default] › tests\environments\environment-inheritance\collection-env-inheritance-from-fixture.spec.ts:221:7 › Collection environment inheritance › the source arrow warns about unsaved changes instead of switching environments
[default] › tests\environments\environment-inheritance\collection-env-inheritance-from-fixture.spec.ts:328:7 › Collection environment inheritance › a script write only overrides an inherited variable when the value differs
[default] › tests\environments\environment-inheritance\collection-env-inheritance-via-ui.spec.ts:270:7 › Collection environment inheritance, authored in the app › an environment shows its ancestor rows, with their values and data types
[default] › tests\environments\environment-inheritance\collection-env-inheritance-via-ui.spec.ts:384:7 › Collection environment inheritance, authored in the app › the source arrow warns about unsaved changes instead of switching environments
[default] › tests\environments\environment-inheritance\collection-env-inheritance-via-ui.spec.ts:488:7 › Collection environment inheritance, authored in the app › a script write only overrides an inherited variable when the value differs
[default] › tests\environments\environment-inheritance\workspace-env-inheritance-from-fixture.spec.ts:69:7 › Workspace environment inheritance › a workspace environment shows its ancestor rows, with their values and data types
[default] › tests\environments\environment-inheritance\workspace-env-inheritance-from-fixture.spec.ts:302:7 › Workspace environment inheritance › a script write only overrides an inherited workspace variable when the value differs
[default] › tests\environments\environment-inheritance\workspace-env-inheritance-via-ui.spec.ts:290:7 › Workspace environment inheritance, authored in the app › a workspace environment shows its ancestor rows, with their values and data types
[default] › tests\environments\environment-inheritance\workspace-env-inheritance-via-ui.spec.ts:521:7 › Workspace environment inheritance, authored in the app › a script write only overrides an inherited workspace variable when the value differs
[default] › tests\import\postman\import-binary-body-mode.spec.ts:16:7 › Import Postman Collection with binary body mode › should import a Postman binary body and preserve the file path
[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\environment\shared-collection-workspace-environment.spec.ts:28:7 › Snapshot: Shared collection across workspaces restores its own environment › two workspaces sharing a collection each restore their own selected environment
[default] › tests\snapshots\sidebar-state.spec.ts:156:7 › Snapshot: Sidebar-Tab Restoration › when duplicate example names exist, snapshot restores the same active example by index
[default] › tests\snapshots\workspace.spec.ts:159:7 › Snapshot: Deleted Workspace Restoration › does not restore stale tabs from deleted workspace and remains interactive
[default] › tests\snapshots\workspace.spec.ts:211:7 › Snapshot: Deleted Workspace Restoration › falls back when active workspace and active tab belong to malformed workspace snapshot
[default] › tests\variable-tooltip\variable-tooltip.spec.ts:37:7 › Variable Tooltip › should test tooltip functionality with environment variables
[default] › tests\variables-tab\variables-tab.spec.ts:109:7 › Variables tab › renders each value in the form that matches its data type
[default] › tests\variables-tab\variables-tab.spec.ts:453:7 › Variables tab › restores the scroll position after leaving and re
|
background
wait
wait-all
cancel
parallel
Loading