feat: support jq in response filter
#9935
tests.yml
on: pull_request
Unit Tests
5m 22s
CLI Tests
2m 59s
Playwright E2E Tests
20m 21s
Annotations
4 errors, 1 warning, and 1 notice
|
[default] › tests/request/response-pane-update-when-focused.spec.ts:30:7 › Response pane updates when focused and request is re-sent › Response pane shows new response after re-send with Cmd+Enter while focused in response:
tests/utils/page/actions.ts#L30
3) [default] › tests/request/response-pane-update-when-focused.spec.ts:30:7 › Response pane updates when focused and request is re-sent › Response pane shows new response after re-send with Cmd+Enter while focused in response
Error: locator.click: Target page, context or browser has been closed
Call log:
- waiting for getByRole('button', { name: 'Discard All and Remove' })
- locator resolved to <button type="button">…</button>
- attempting click action
2 × waiting for element to be visible, enabled and stable
- element is not stable
- retrying click action
- waiting 20ms
2 × waiting for element to be visible, enabled and stable
- element is not stable
- retrying click action
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is not stable
- retrying click action
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element was detached from the DOM, retrying
at tests/utils/page/actions.ts:30
28 | if (hasDiscardButton) {
29 | // Drafts modal - click "Discard All and Remove"
> 30 | await page.getByRole('button', { name: 'Discard All and Remove' }).click();
| ^
31 | } else {
32 | // Regular modal - click the submit button
33 | await page.locator('.bruno-modal-footer .submit').click();
at /home/runner/work/bruno/bruno/tests/utils/page/actions.ts:30:76
at closeAllCollections (/home/runner/work/bruno/bruno/tests/utils/page/actions.ts:12:3)
at /home/runner/work/bruno/bruno/tests/request/response-pane-update-when-focused.spec.ts:27:5
|
|
[default] › tests/request/response-pane-update-when-focused.spec.ts:30:7 › Response pane updates when focused and request is re-sent › Response pane shows new response after re-send with Cmd+Enter while focused in response:
tests/request/response-pane-update-when-focused.spec.ts#L26
3) [default] › tests/request/response-pane-update-when-focused.spec.ts:30:7 › Response pane updates when focused and request is re-sent › Response pane shows new response after re-send with Cmd+Enter while focused in response
"afterAll" hook timeout of 30000ms exceeded.
24 | });
25 |
> 26 | test.afterAll(async ({ page }) => {
| ^
27 | await closeAllCollections(page);
28 | });
29 |
at /home/runner/work/bruno/bruno/tests/request/response-pane-update-when-focused.spec.ts:26:8
|
|
[default] › tests/preferences/default-collection-location/default-collection-location.spec.js:62:7 › Default Location Feature › Should use default location in Create Collection modal:
tests/preferences/default-collection-location/default-collection-location.spec.js#L81
2) [default] › tests/preferences/default-collection-location/default-collection-location.spec.js:62:7 › Default Location Feature › Should use default location in Create Collection modal
Error: expect(received).toBe(expected) // Object.is equality
Expected: true
Received: false
79 |
80 | const inputValue = await collectionLocationInput.inputValue();
> 81 | expect(inputValue.endsWith(EXPECTED_PATH_SUFFIX)).toBe(true);
| ^
82 |
83 | // cancel the collection creation
84 | await page.locator('.bruno-modal').getByRole('button', { name: 'Cancel' }).click();
at /home/runner/work/bruno/bruno/tests/preferences/default-collection-location/default-collection-location.spec.js:81:55
|
|
[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#L62
1) [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"]')
60 | await expect(page.locator('input[name="3.name"]')).toHaveValue('postTitle');
61 | await expect(page.locator('input[name="4.name"]')).toHaveValue('postBody');
> 62 | await expect(page.locator('input[name="5.name"]')).toHaveValue('secretApiToken');
| ^
63 | await expect(page.locator('input[name="5.secret"]')).toBeChecked();
64 | await envTab.hover();
65 | await envTab.getByTestId('request-tab-close-icon').click({ force: true });
at /home/runner/work/bruno/bruno/tests/environments/import-environment/collection-env-import.spec.ts:62:56
|
|
CLI Tests
Could not find any files for packages/bruno-tests/collection/junit.xml
|
|
🎭 Playwright Run Summary
3 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/preferences/default-collection-location/default-collection-location.spec.js:62:7 › Default Location Feature › Should use default location in Create Collection modal
[default] › tests/request/response-pane-update-when-focused.spec.ts:30:7 › Response pane updates when focused and request is re-sent › Response pane shows new response after re-send with Cmd+Enter while focused in response
5 skipped
317 passed (17.9m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
playwright-report
|
4.3 MB |
sha256:6ef6e0102470bd38165e08d8775c1d37d98bdf1064488ee9e95471f75cc13245
|
|