fix: refresh scopeInfo after variable save in tooltip editor (#6935) #62
tests.yml
on: push
Unit Tests
5m 28s
CLI Tests
3m 24s
Playwright E2E Tests
16m 2s
Annotations
8 errors and 1 notice
|
Playwright E2E Tests
Process completed with exit code 1.
|
|
[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
5) [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-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/import/insomnia/malformed-structure.spec.ts:5:7 › Invalid Insomnia Collection - Malformed Structure › Handle malformed Insomnia collection structure:
tests/import/insomnia/malformed-structure.spec.ts#L20
3) [default] › tests/import/insomnia/malformed-structure.spec.ts:5:7 › Invalid Insomnia Collection - Malformed Structure › Handle malformed Insomnia collection structure
Error: expect(received).toBe(expected) // Object.is equality
Expected: true
Received: false
18 | // Check for error message - this should fail during JSON parsing
19 | const hasError = await page.getByText('Failed to parse the file').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/insomnia/malformed-structure.spec.ts:20: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
2) [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
1) [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-IBRpCls03WNHgDXyxstbi-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
1) [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-Q4w0HPVRs2mHEWR8U30BK-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
1) [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-KV4C95wdzG4zJ4oXmlo8g-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
|
|
🎭 Playwright Run Summary
1 failed
[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/insomnia/malformed-structure.spec.ts:5:7 › Invalid Insomnia Collection - Malformed Structure › Handle malformed Insomnia collection structure
[default] › tests/import/postman/invalid-json.spec.ts:5:7 › Invalid Postman Collection - Invalid JSON › Handle invalid JSON syntax
[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
244 passed (13.6m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
playwright-report
Expired
|
5.72 MB |
sha256:80892b24dd05414a077471f2dde3e26c6926e12df0da72117e3ee4c9a7f2001b
|
|