Skip to content

fix: YML parsing and stringification to support post-response variabl… #9084

fix: YML parsing and stringification to support post-response variabl…

fix: YML parsing and stringification to support post-response variabl… #9084

Triggered via push February 2, 2026 13:27
Status Failure
Total duration 16m 55s
Artifacts 1

tests.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 notice
[default] › tests/import/postman/invalid-schema.spec.ts:5:7 › Invalid Postman Collection - Invalid Schema › Handle Postman collection with invalid schema version: tests/import/postman/invalid-schema.spec.ts#L20
6) [default] › tests/import/postman/invalid-schema.spec.ts:5:7 › Invalid Postman Collection - Invalid Schema › Handle Postman collection with invalid schema version Error: expect(received).toBe(expected) // Object.is equality Expected: true Received: false 18 | // Check for error message 19 | const hasError = await page.getByText('Unsupported collection format').first().isVisible(); > 20 | expect(hasError).toBe(true); | ^ 21 | 22 | // Cleanup: close any open modals 23 | await page.getByTestId('modal-close-button').click(); at /home/runner/work/bruno/bruno/tests/import/postman/invalid-schema.spec.ts:20:22
[default] › tests/import/postman/invalid-missing-info.spec.ts:5:7 › Invalid Postman Collection - Missing Info › Handle Postman collection missing required info field: tests/import/postman/invalid-missing-info.spec.ts#L20
5) [default] › tests/import/postman/invalid-missing-info.spec.ts:5:7 › Invalid Postman Collection - Missing Info › Handle Postman collection missing required info field Error: expect(received).toBe(expected) // Object.is equality Expected: true Received: false 18 | // Check for error message 19 | const hasError = await page.getByText('Unsupported collection format').first().isVisible(); > 20 | expect(hasError).toBe(true); | ^ 21 | 22 | // Cleanup: close any open modals 23 | await page.getByTestId('modal-close-button').click(); at /home/runner/work/bruno/bruno/tests/import/postman/invalid-missing-info.spec.ts:20:22
[default] › tests/import/postman/invalid-json.spec.ts:5:7 › Invalid Postman Collection - Invalid JSON › Handle invalid JSON syntax: tests/import/postman/invalid-json.spec.ts#L21
4) [default] › tests/import/postman/invalid-json.spec.ts:5:7 › Invalid Postman Collection - Invalid JSON › Handle invalid JSON syntax Error: expect(received).toBe(expected) // Object.is equality Expected: true Received: false 19 | const hasError = await page.getByText('Unsupported collection format').first().isVisible(); 20 | > 21 | expect(hasError).toBe(true); | ^ 22 | 23 | // Cleanup: close any open modals 24 | await page.getByTestId('modal-close-button').click(); at /home/runner/work/bruno/bruno/tests/import/postman/invalid-json.spec.ts:21:22
[default] › tests/environments/import-environment/collection-env-import.spec.ts:10:7 › Collection Environment Import Tests › should import collection environment from file: tests/environments/import-environment/collection-env-import.spec.ts#L61
3) [default] › tests/environments/import-environment/collection-env-import.spec.ts:10:7 › Collection Environment Import Tests › should import collection environment from file Error: Timed out 5000ms waiting for expect(locator).toHaveValue(expected) Locator: locator('input[name="5.name"]') Expected string: "secretApiToken" Received: <element(s) not found> Call log: - expect.toHaveValue with timeout 5000ms - waiting for locator('input[name="5.name"]') 59 | await expect(page.locator('input[name="3.name"]')).toHaveValue('postTitle'); 60 | await expect(page.locator('input[name="4.name"]')).toHaveValue('postBody'); > 61 | await expect(page.locator('input[name="5.name"]')).toHaveValue('secretApiToken'); | ^ 62 | await expect(page.locator('input[name="5.secret"]')).toBeChecked(); 63 | await envTab.hover(); 64 | await envTab.getByTestId('request-tab-close-icon').click(); at /home/runner/work/bruno/bruno/tests/environments/import-environment/collection-env-import.spec.ts:61:56
[default] › tests/request/headers/header-validation.spec.ts:25:7 › Header Validation › should show error icon when header name contains spaces: tests/request/headers/header-validation.spec.ts#L61
2) [default] › tests/request/headers/header-validation.spec.ts:25:7 › Header Validation › should show error icon when header name contains spaces › Enter valid header name and verify no error icon Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).not.toBeVisible() Locator: locator('table tbody tr').first().locator('.text-red-600') Expected: not visible Received: visible Call log: - expect.not.toBeVisible with timeout 5000ms - waiting for locator('table tbody tr').first().locator('.text-red-600') 9 × locator resolved to <svg width="20" height="20" fill="none" stroke-width="2" viewBox="0 0 24 24" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="text-red-600 cursor-pointer ml-1" data-tooltip-id="error-RvYB10inNSZTaONDQjgJt-name">…</svg> - unexpected value "visible" 59 | // Verify the error icon is not visible 60 | const errorIcon = headerRow.locator('.text-red-600'); > 61 | await expect(errorIcon).not.toBeVisible(); | ^ 62 | }); 63 | }); 64 | at /home/runner/work/bruno/bruno/tests/request/headers/header-validation.spec.ts:61:35 at /home/runner/work/bruno/bruno/tests/request/headers/header-validation.spec.ts:50:5
[default] › tests/request/headers/header-validation.spec.ts:25:7 › Header Validation › should show error icon when header name contains spaces: tests/request/headers/header-validation.spec.ts#L61
2) [default] › tests/request/headers/header-validation.spec.ts:25:7 › Header Validation › should show error icon when header name contains spaces › Enter valid header name and verify no error icon Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).not.toBeVisible() Locator: locator('table tbody tr').first().locator('.text-red-600') Expected: not visible Received: visible Call log: - expect.not.toBeVisible with timeout 5000ms - waiting for locator('table tbody tr').first().locator('.text-red-600') 9 × locator resolved to <svg width="20" height="20" fill="none" stroke-width="2" viewBox="0 0 24 24" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="text-red-600 cursor-pointer ml-1" data-tooltip-id="error-EKxBGpu7Y1KFEJPUGe6aW-name">…</svg> - unexpected value "visible" 59 | // Verify the error icon is not visible 60 | const errorIcon = headerRow.locator('.text-red-600'); > 61 | await expect(errorIcon).not.toBeVisible(); | ^ 62 | }); 63 | }); 64 | at /home/runner/work/bruno/bruno/tests/request/headers/header-validation.spec.ts:61:35 at /home/runner/work/bruno/bruno/tests/request/headers/header-validation.spec.ts:50:5
[default] › tests/request/headers/header-validation.spec.ts:25:7 › Header Validation › should show error icon when header name contains spaces: tests/request/headers/header-validation.spec.ts#L61
2) [default] › tests/request/headers/header-validation.spec.ts:25:7 › Header Validation › should show error icon when header name contains spaces › Enter valid header name and verify no error icon Error: Timed out 5000ms waiting for expect(locator).not.toBeVisible() Locator: locator('table tbody tr').first().locator('.text-red-600') Expected: not visible Received: visible Call log: - expect.not.toBeVisible with timeout 5000ms - waiting for locator('table tbody tr').first().locator('.text-red-600') 9 × locator resolved to <svg width="20" height="20" fill="none" stroke-width="2" viewBox="0 0 24 24" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="text-red-600 cursor-pointer ml-1" data-tooltip-id="error-a0owwrXBxxwp5PKsLWYuk-name">…</svg> - unexpected value "visible" 59 | // Verify the error icon is not visible 60 | const errorIcon = headerRow.locator('.text-red-600'); > 61 | await expect(errorIcon).not.toBeVisible(); | ^ 62 | }); 63 | }); 64 | at /home/runner/work/bruno/bruno/tests/request/headers/header-validation.spec.ts:61:35 at /home/runner/work/bruno/bruno/tests/request/headers/header-validation.spec.ts:50:5
[default] › tests/environments/multiline-variables/write-multiline-variable.spec.ts:4:7 › Multiline Variables - Write Test › should create and use multiline environment variable dynamically: tests/environments/multiline-variables/write-multiline-variable.spec.ts#L35
1) [default] › tests/environments/multiline-variables/write-multiline-variable.spec.ts:4:7 › Multiline Variables - Write Test › should create and use multiline environment variable dynamically Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('tbody tr').last().locator('input[placeholder="Name"]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('tbody tr').last().locator('input[placeholder="Name"]') 33 | 34 | const emptyRowNameInput = page.locator('tbody tr').last().locator('input[placeholder="Name"]'); > 35 | await expect(emptyRowNameInput).toBeVisible(); | ^ 36 | await emptyRowNameInput.fill('multiline_data_json'); 37 | 38 | const jsonValue = `{ at /home/runner/work/bruno/bruno/tests/environments/multiline-variables/write-multiline-variable.spec.ts:35:37
[default] › tests/environments/multiline-variables/write-multiline-variable.spec.ts:4:7 › Multiline Variables - Write Test › should create and use multiline environment variable dynamically: tests/environments/multiline-variables/write-multiline-variable.spec.ts#L35
1) [default] › tests/environments/multiline-variables/write-multiline-variable.spec.ts:4:7 › Multiline Variables - Write Test › should create and use multiline environment variable dynamically Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('tbody tr').last().locator('input[placeholder="Name"]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('tbody tr').last().locator('input[placeholder="Name"]') 33 | 34 | const emptyRowNameInput = page.locator('tbody tr').last().locator('input[placeholder="Name"]'); > 35 | await expect(emptyRowNameInput).toBeVisible(); | ^ 36 | await emptyRowNameInput.fill('multiline_data_json'); 37 | 38 | const jsonValue = `{ at /home/runner/work/bruno/bruno/tests/environments/multiline-variables/write-multiline-variable.spec.ts:35:37
[default] › tests/environments/multiline-variables/write-multiline-variable.spec.ts:4:7 › Multiline Variables - Write Test › should create and use multiline environment variable dynamically: tests/environments/multiline-variables/write-multiline-variable.spec.ts#L35
1) [default] › tests/environments/multiline-variables/write-multiline-variable.spec.ts:4:7 › Multiline Variables - Write Test › should create and use multiline environment variable dynamically Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('tbody tr').last().locator('input[placeholder="Name"]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('tbody tr').last().locator('input[placeholder="Name"]') 33 | 34 | const emptyRowNameInput = page.locator('tbody tr').last().locator('input[placeholder="Name"]'); > 35 | await expect(emptyRowNameInput).toBeVisible(); | ^ 36 | await emptyRowNameInput.fill('multiline_data_json'); 37 | 38 | const jsonValue = `{ at /home/runner/work/bruno/bruno/tests/environments/multiline-variables/write-multiline-variable.spec.ts:35:37
🎭 Playwright Run Summary
2 failed [default] › tests/environments/multiline-variables/write-multiline-variable.spec.ts:4:7 › Multiline Variables - Write Test › should create and use multiline environment variable dynamically [default] › tests/request/headers/header-validation.spec.ts:25:7 › Header Validation › should show error icon when header name contains spaces 4 flaky [default] › tests/environments/import-environment/collection-env-import.spec.ts:10:7 › Collection Environment Import Tests › should import collection environment from file [default] › tests/import/postman/invalid-json.spec.ts:5:7 › Invalid Postman Collection - Invalid JSON › Handle invalid JSON syntax [default] › tests/import/postman/invalid-missing-info.spec.ts:5:7 › Invalid Postman Collection - Missing Info › Handle Postman collection missing required info field [default] › tests/import/postman/invalid-schema.spec.ts:5:7 › Invalid Postman Collection - Invalid Schema › Handle Postman collection with invalid schema version 5 skipped 1 did not run 248 passed (14.3m)

Artifacts

Produced during runtime
Name Size Digest
playwright-report
7.5 MB
sha256:d8b6206a12e2de5bf02b823bc2e100b068782726dfb00c3887e72d0d4e5ecd86