feat: support jq in response filter
#9936
tests.yml
on: pull_request
Unit Tests
5m 22s
CLI Tests
3m 12s
Playwright E2E Tests
19m 53s
Annotations
5 errors, 1 warning, and 1 notice
|
[default] › tests/sidebar/rename-collection-item.spec.ts:9:7 › Rename Collection Item - File Extension › should show .yml extension for OpenCollection format when renaming a request:
tests/utils/page/actions.ts#L53
3) [default] › tests/sidebar/rename-collection-item.spec.ts:9:7 › Rename Collection Item - File Extension › should show .yml extension for OpenCollection format when renaming a request › Create collection with OpenCollection format › Create collection "YML Rename Test" › Open collection "YML Rename Test"
Error: locator.click: Target page, context or browser has been closed
Call log:
- waiting for locator('#sidebar-collection-name').filter({ hasText: 'YML Rename Test' })
at tests/utils/page/actions.ts:53
51 | const openCollection = async (page, collectionName: string) => {
52 | await test.step(`Open collection "${collectionName}"`, async () => {
> 53 | await page.locator('#sidebar-collection-name').filter({ hasText: collectionName }).click();
| ^
54 | });
55 | };
56 |
at /home/runner/work/bruno/bruno/tests/utils/page/actions.ts:53:88
at openCollection (/home/runner/work/bruno/bruno/tests/utils/page/actions.ts:52:14)
at /home/runner/work/bruno/bruno/tests/utils/page/actions.ts:94:11
at createCollection (/home/runner/work/bruno/bruno/tests/utils/page/actions.ts:67:3)
at /home/runner/work/bruno/bruno/tests/sidebar/rename-collection-item.spec.ts:15:7
at /home/runner/work/bruno/bruno/tests/sidebar/rename-collection-item.spec.ts:14:5
|
|
[default] › tests/sidebar/rename-collection-item.spec.ts:9:7 › Rename Collection Item - File Extension › should show .yml extension for OpenCollection format when renaming a request:
tests/sidebar/rename-collection-item.spec.ts#L0
3) [default] › tests/sidebar/rename-collection-item.spec.ts:9:7 › Rename Collection Item - File Extension › should show .yml extension for OpenCollection format when renaming a request › Create collection with OpenCollection format › Create collection "YML Rename Test" › Open collection "YML Rename Test"
Test timeout of 30000ms exceeded.
|
|
[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
2) [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
TimeoutError: locator.click: Timeout 30000ms exceeded.
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
2) [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
1) [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
|
|
CLI Tests
Could not find any files for packages/bruno-tests/collection/junit.xml
|
|
🎭 Playwright Run Summary
3 flaky
[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
[default] › tests/sidebar/rename-collection-item.spec.ts:9:7 › Rename Collection Item - File Extension › should show .yml extension for OpenCollection format when renaming a request
5 skipped
317 passed (17.6m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
playwright-report
|
7.36 MB |
sha256:b824fc7395781568861604d9c3d5e776a016dd3e678f214e73dc50c65662ddba
|
|