feat: Increase visibility of text in Request tabs #7495
tests.yml
on: pull_request
Unit Tests
4m 21s
CLI Tests
3m 35s
Playwright E2E Tests
12m 15s
Annotations
5 errors and 1 notice
|
[default] › tests/request/newlines/newlines-persistence.spec.ts:5:5 › should persist request with newlines across app restarts:
tests/utils/page/actions.ts#L39
3) [default] › tests/request/newlines/newlines-persistence.spec.ts:5:5 › should persist request with newlines across app restarts › Open collection "newlines-persistence" and accept sandbox "safe" mode
Error: locator.click: Target page, context or browser has been closed
Call log:
- waiting for locator('#sidebar-collection-name').filter({ hasText: 'newlines-persistence' })
- locator resolved to <div class="ml-1 w-full" id="sidebar-collection-name" title="newlines-persistence">newlines-persistence</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 class="bruno-modal-backdrop"></div> from <div class="StyledWrapper-fDfhQO igjEbW">…</div> subtree 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 class="bruno-modal-backdrop"></div> from <div class="StyledWrapper-fDfhQO igjEbW">…</div> subtree intercepts pointer events
- retrying click action
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div class="bruno-modal-backdrop"></div> from <div class="StyledWrapper-fDfhQO igjEbW">…</div> subtree intercepts pointer events
43 × retrying click action
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div class="bruno-modal-backdrop"></div> from <div class="StyledWrapper__Wrapper-bFEkFv hhRmrY bruno-modal">…</div> subtree intercepts pointer events
- retrying click action
- waiting 500ms
at tests/utils/page/actions.ts:39
37 | const openCollectionAndAcceptSandbox = async (page, collectionName: string, sandboxMode: 'safe' | 'developer' = 'safe') => {
38 | await test.step(`Open collection "${collectionName}" and accept sandbox "${sandboxMode}" mode`, async () => {
> 39 | await page.locator('#sidebar-collection-name').filter({ hasText: collectionName }).click();
| ^
40 |
41 | const sandboxModal = page
42 | .locator('.bruno-modal-card')
at /home/runner/work/bruno/bruno/tests/utils/page/actions.ts:39:88
at openCollectionAndAcceptSandbox (/home/runner/work/bruno/bruno/tests/utils/page/actions.ts:38:14)
at /home/runner/work/bruno/bruno/tests/request/newlines/newlines-persistence.spec.ts:28:39
|
|
[default] › tests/request/newlines/newlines-persistence.spec.ts:5:5 › should persist request with newlines across app restarts:
tests/request/newlines/newlines-persistence.spec.ts#L0
3) [default] › tests/request/newlines/newlines-persistence.spec.ts:5:5 › should persist request with newlines across app restarts › Open collection "newlines-persistence" and accept sandbox "safe" mode
Test timeout of 30000ms exceeded.
|
|
[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
2) [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/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
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
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
3 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/postman/invalid-json.spec.ts:5:7 › Invalid Postman Collection - Invalid JSON › Handle invalid JSON syntax
[default] › tests/request/newlines/newlines-persistence.spec.ts:5:5 › should persist request with newlines across app restarts
5 skipped
182 passed (9.8m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
playwright-report
|
8.59 MB |
sha256:98769da9e92cd2bcea62464fc99aeb0ad6f27f8da0a5a64362be76cbc4243d2b
|
|