Feature: hooks support #7527
tests.yml
on: pull_request
Unit Tests
4m 39s
CLI Tests
3m 43s
Playwright E2E Tests
14m 9s
Annotations
10 errors and 1 notice
|
[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.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
2) [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
47 × 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
2) [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.
|
|
[default] › tests/response/response-actions.spec.ts:15:7 › Response Pane Actions › should copy response to clipboard:
tests/utils/page/actions.ts#L458
1) [default] › tests/response/response-actions.spec.ts:15:7 › Response Pane Actions › should copy response to clipboard › Send request and wait for response › Send request
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toContainText(expected)
Locator: getByTestId('response-status-code')
Expected string: "200"
Received string: "503 Service Unavailable "
Call log:
- expect.toContainText with timeout 30000ms
- waiting for getByTestId('response-status-code')
24 × locator resolved to <div data-testid="response-status-code" class="StyledWrapper__Wrapper-tacBB gynPEU response-status-code ml-2 text-error">503 Service Unavailable </div>
- unexpected value "503 Service Unavailable "
at tests/utils/page/actions.ts:458
456 |
457 | if (expectedStatusCode !== undefined) {
> 458 | await expect(page.getByTestId('response-status-code')).toContainText(
| ^
459 | String(expectedStatusCode),
460 | { timeout }
461 | );
at /home/runner/work/bruno/bruno/tests/utils/page/actions.ts:458:62
at sendRequest (/home/runner/work/bruno/bruno/tests/utils/page/actions.ts:453:3)
at /home/runner/work/bruno/bruno/tests/response/response-actions.spec.ts:25:7
at /home/runner/work/bruno/bruno/tests/response/response-actions.spec.ts:24:5
|
|
[default] › tests/response/response-actions.spec.ts:15:7 › Response Pane Actions › should copy response to clipboard:
tests/response/response-actions.spec.ts#L0
1) [default] › tests/response/response-actions.spec.ts:15:7 › Response Pane Actions › should copy response to clipboard › Send request and wait for response › Send request
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
|
[default] › tests/response/response-actions.spec.ts:15:7 › Response Pane Actions › should copy response to clipboard:
tests/utils/page/actions.ts#L455
1) [default] › tests/response/response-actions.spec.ts:15:7 › Response Pane Actions › should copy response to clipboard › Send request and wait for response › Send request
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.waitFor: Target page, context or browser has been closed
Call log:
- waiting for getByTestId('response-status-code') to be visible
at tests/utils/page/actions.ts:455
453 | await test.step('Send request', async () => {
454 | await page.getByTestId('send-arrow-icon').click();
> 455 | await page.getByTestId('response-status-code').waitFor({ state: 'visible', timeout });
| ^
456 |
457 | if (expectedStatusCode !== undefined) {
458 | await expect(page.getByTestId('response-status-code')).toContainText(
at /home/runner/work/bruno/bruno/tests/utils/page/actions.ts:455:52
at sendRequest (/home/runner/work/bruno/bruno/tests/utils/page/actions.ts:453:3)
at /home/runner/work/bruno/bruno/tests/response/response-actions.spec.ts:25:7
at /home/runner/work/bruno/bruno/tests/response/response-actions.spec.ts:24:5
|
|
[default] › tests/response/response-actions.spec.ts:15:7 › Response Pane Actions › should copy response to clipboard:
tests/response/response-actions.spec.ts#L0
1) [default] › tests/response/response-actions.spec.ts:15:7 › Response Pane Actions › should copy response to clipboard › Send request and wait for response › Send request
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
|
[default] › tests/response/response-actions.spec.ts:15:7 › Response Pane Actions › should copy response to clipboard:
tests/utils/page/actions.ts#L455
1) [default] › tests/response/response-actions.spec.ts:15:7 › Response Pane Actions › should copy response to clipboard › Send request and wait for response › Send request
Error: locator.waitFor: Target page, context or browser has been closed
Call log:
- waiting for getByTestId('response-status-code') to be visible
at tests/utils/page/actions.ts:455
453 | await test.step('Send request', async () => {
454 | await page.getByTestId('send-arrow-icon').click();
> 455 | await page.getByTestId('response-status-code').waitFor({ state: 'visible', timeout });
| ^
456 |
457 | if (expectedStatusCode !== undefined) {
458 | await expect(page.getByTestId('response-status-code')).toContainText(
at /home/runner/work/bruno/bruno/tests/utils/page/actions.ts:455:52
at sendRequest (/home/runner/work/bruno/bruno/tests/utils/page/actions.ts:453:3)
at /home/runner/work/bruno/bruno/tests/response/response-actions.spec.ts:25:7
at /home/runner/work/bruno/bruno/tests/response/response-actions.spec.ts:24:5
|
|
[default] › tests/response/response-actions.spec.ts:15:7 › Response Pane Actions › should copy response to clipboard:
tests/response/response-actions.spec.ts#L0
1) [default] › tests/response/response-actions.spec.ts:15:7 › Response Pane Actions › should copy response to clipboard › Send request and wait for response › Send request
Test timeout of 30000ms exceeded.
|
|
Playwright E2E Tests
Worker teardown timeout of 30000ms exceeded.
Failed worker ran 5 tests:
[default] › tests/start/app-open.spec.ts:3:5 › Check if the workspace name is visible in the sidebar
[default] › tests/variable-tooltip/variable-tooltip.spec.ts:20:7 › Variable Tooltip › should test tooltip functionality with environment variables
[default] › tests/variable-tooltip/variable-tooltip.spec.ts:110:7 › Variable Tooltip › should test tooltip with variable references
[default] › tests/variable-tooltip/variable-tooltip.spec.ts:230:7 › Variable Tooltip › should handle runtime and process.env variables
[default] › tests/variable-tooltip/variable-tooltip.spec.ts:283:7 › Variable Tooltip › should auto-save request when creating variable via tooltip
|
|
🎭 Playwright Run Summary
1 failed
[default] › tests/response/response-actions.spec.ts:15:7 › Response Pane Actions › should copy response to clipboard
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
183 passed (11.9m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
playwright-report
|
15.7 MB |
sha256:419b202a127a99b8cc04d95999e55c7577ab673e5ddcef95c82b239ba5afc97e
|
|