feat: Increase visibility of text in Request tabs (#6243) #7498
tests.yml
on: push
Unit Tests
4m 14s
CLI Tests
3m 37s
Playwright E2E Tests
11m 53s
Annotations
4 errors and 1 notice
|
[default] › tests/response-examples/create-example.spec.ts:11:7 › Create and Delete Response Examples › should create a response example from response bookmark:
tests/response-examples/create-example.spec.ts#L30
3) [default] › tests/response-examples/create-example.spec.ts:11:7 › Create and Delete Response Examples › should create a response example from response bookmark › Send request and validate example creation
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByTestId('response-example-title')
Expected string: "create-example / Test Example from Bookmark"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByTestId('response-example-title')
28 | await page.getByTestId('create-example-description-input').fill('This is a test example created from response bookmark');
29 | await page.getByRole('button', { name: 'Create Example' }).click();
> 30 | await expect(page.getByTestId('response-example-title')).toHaveText('create-example / Test Example from Bookmark');
| ^
31 | });
32 | });
33 |
at /home/runner/work/bruno/bruno/tests/response-examples/create-example.spec.ts:30:64
at /home/runner/work/bruno/bruno/tests/response-examples/create-example.spec.ts:17:5
|
|
[default] › tests/import/postman/invalid-schema.spec.ts:5:7 › Invalid Postman Collection - Invalid Schema › Handle Postman collection with invalid schema version:
tests/import/postman/invalid-schema.spec.ts#L20
2) [default] › tests/import/postman/invalid-schema.spec.ts:5:7 › Invalid Postman Collection - Invalid Schema › Handle Postman collection with invalid schema version
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-schema.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
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-schema.spec.ts:5:7 › Invalid Postman Collection - Invalid Schema › Handle Postman collection with invalid schema version
[default] › tests/response-examples/create-example.spec.ts:11:7 › Create and Delete Response Examples › should create a response example from response bookmark
5 skipped
182 passed (9.6m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
playwright-report
|
16.9 MB |
sha256:6497176afe97b289aaed125bd717e1d9229e64a14b2f973d8084e7b8bc085cf1
|
|