fix: path for newly added collection & remove option for outside collections #7496
tests.yml
on: pull_request
Unit Tests
4m 24s
CLI Tests
3m 11s
Playwright E2E Tests
12m 35s
Annotations
7 errors and 1 notice
|
[default] › tests/variable-tooltip/variable-tooltip.spec.ts:283:7 › Variable Tooltip › should auto-save request when creating variable via tooltip:
tests/variable-tooltip/variable-tooltip.spec.ts#L318
5) [default] › tests/variable-tooltip/variable-tooltip.spec.ts:283:7 › Variable Tooltip › should auto-save request when creating variable via tooltip › Create variable via tooltip - should auto-save entire request
Error: locator.hover: Target page, context or browser has been closed
Call log:
- waiting for locator('#request-url .CodeMirror').locator('.cm-variable-invalid').filter({ hasText: 'myApiKey' }).first()
- locator resolved to <span class="cm-variable-invalid cm-random-92i">{{myApiKey}}</span>
- attempting hover action
2 × waiting for element to be visible and stable
- element is visible and stable
- scrolling into view if needed
- done scrolling
- <div class="go2072408551">…</div> from <div>…</div> subtree intercepts pointer events
- retrying hover action
- waiting 20ms
- waiting for element to be visible and stable
- element is visible and stable
- scrolling into view if needed
- done scrolling
- <div class="go2072408551">…</div> from <div>…</div> subtree intercepts pointer events
- retrying hover action
- waiting 100ms
- waiting for element to be visible and stable
- element was detached from the DOM, retrying
- locator resolved to <span title="Hold Ctrl and click to open link" data-url="https://api.example.com/users/{{myApiKey}" class="cm-variable-invalid cm-random-92i CodeMirror-link">{{myApiKey}</span>
- attempting hover action
2 × waiting for element to be visible and stable
- element is visible and stable
- scrolling into view if needed
- done scrolling
- <div class="go2072408551">…</div> from <div>…</div> subtree intercepts pointer events
- retrying hover action
- waiting 20ms
2 × waiting for element to be visible and stable
- element is visible and stable
- scrolling into view if needed
- done scrolling
- <div class="go2072408551">…</div> from <div>…</div> subtree intercepts pointer events
- retrying hover action
- waiting 100ms
48 × waiting for element to be visible and stable
- element is visible and stable
- scrolling into view if needed
- done scrolling
- <div class="go2072408551">…</div> from <div>…</div> subtree intercepts pointer events
- retrying hover action
- waiting 500ms
2 × waiting for element to be visible and stable
- element is visible and stable
- scrolling into view if needed
- done scrolling
- <div class="bruno-modal-content px-4 py-4">…</div> from <div class="StyledWrapper__Wrapper-hJypxc dDUFTs flex relative h-full">…</div> subtree intercepts pointer events
- retrying hover action
- waiting 500ms
316 | const urlEditor = page.locator('#request-url .CodeMirror');
317 | const undefinedVar = urlEditor.locator('.cm-variable-invalid').filter({ hasText: 'myApiKey' }).first();
> 318 | await undefinedVar.hover();
| ^
319 |
320 | // Tooltip should appear
321 | const tooltip = page.locator('.CodeMirror-brunoVarInfo').first();
at /home/runner/work/bruno/bruno/tests/variable-tooltip/variable-tooltip.spec.ts:318:26
at /home/runner/work/bruno/bruno/tests/variable-tooltip/variable-tooltip.spec.ts:314:16
|
|
[default] › tests/variable-tooltip/variable-tooltip.spec.ts:283:7 › Variable Tooltip › should auto-save request when creating variable via tooltip:
tests/variable-tooltip/variable-tooltip.spec.ts#L0
5) [default] › tests/variable-tooltip/variable-tooltip.spec.ts:283:7 › Variable Tooltip › should auto-save request when creating variable via tooltip › Create variable via tooltip - should auto-save entire request
Test timeout of 30000ms exceeded.
|
|
[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
4) [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.locator('[data-test-id="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
3) [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.locator('[data-test-id="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
2) [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.locator('[data-test-id="modal-close-button"]').click();
at /home/runner/work/bruno/bruno/tests/import/insomnia/malformed-structure.spec.ts:20:22
|
|
[default] › tests/environments/create-environment/collection-env-create.spec.ts:16:7 › Collection Environment Create Tests › should import collection and create environment for request usage:
tests/utils/page/actions.ts#L366
1) [default] › tests/environments/create-environment/collection-env-create.spec.ts:16:7 › Collection Environment Create Tests › should import collection and create environment for request usage › Create environment with variables › Add 5 environment variables › Add environment variable "secretApiToken"
Error: locator.click: Target page, context or browser has been closed
Call log:
- waiting for locator('tr').filter({ has: locator('input[name="4.name"]') }).locator('.CodeMirror')
- locator resolved to <div translate="no" class="CodeMirror cm-s-default">…</div>
- attempting click action
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div></div> intercepts pointer events
- retrying click action
- waiting 20ms
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div></div> intercepts pointer events
- retrying click action
- waiting 100ms
48 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div></div> intercepts pointer events
- retrying click action
- waiting 500ms
at tests/utils/page/actions.ts:366
364 | const codeMirror = variableRow.locator('.CodeMirror');
365 | await codeMirror.waitFor({ state: 'visible' });
> 366 | await codeMirror.click();
| ^
367 | await page.keyboard.type(variable.value);
368 |
369 | if (variable.isSecret) {
at /home/runner/work/bruno/bruno/tests/utils/page/actions.ts:366:22
at addEnvironmentVariable (/home/runner/work/bruno/bruno/tests/utils/page/actions.ts:352:3)
at /home/runner/work/bruno/bruno/tests/utils/page/actions.ts:386:7
at addEnvironmentVariables (/home/runner/work/bruno/bruno/tests/utils/page/actions.ts:384:3)
at /home/runner/work/bruno/bruno/tests/environments/create-environment/collection-env-create.spec.ts:33:7
at /home/runner/work/bruno/bruno/tests/environments/create-environment/collection-env-create.spec.ts:30:5
|
|
[default] › tests/environments/create-environment/collection-env-create.spec.ts:16:7 › Collection Environment Create Tests › should import collection and create environment for request usage:
tests/environments/create-environment/collection-env-create.spec.ts#L0
1) [default] › tests/environments/create-environment/collection-env-create.spec.ts:16:7 › Collection Environment Create Tests › should import collection and create environment for request usage › Create environment with variables › Add 5 environment variables › Add environment variable "secretApiToken"
Test timeout of 30000ms exceeded.
|
|
🎭 Playwright Run Summary
5 flaky
[default] › tests/environments/create-environment/collection-env-create.spec.ts:16:7 › Collection Environment Create Tests › should import collection and create environment for request usage
[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-missing-info.spec.ts:5:7 › Invalid Postman Collection - Missing Info › Handle Postman collection missing required info field
[default] › tests/variable-tooltip/variable-tooltip.spec.ts:283:7 › Variable Tooltip › should auto-save request when creating variable via tooltip
5 skipped
180 passed (10.2m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
playwright-report
|
14.3 MB |
sha256:8876d05f79a4e2c174a57c9628414207b13ee20a3acf6d0219efbc7a9b66d67a
|
|