Merge pull request #6345 from usebruno/feat/design-updates #7526
tests.yml
on: push
Unit Tests
4m 11s
CLI Tests
2m 54s
Playwright E2E Tests
13m 36s
Annotations
9 errors and 2 notices
|
Playwright E2E Tests
Process completed with exit code 1.
|
|
[default] › tests/variable-tooltip/variable-tooltip.spec.ts:283:7 › Variable Tooltip › should auto-save request when creating variable via tooltip:
tests/variable-tooltip/variable-tooltip.spec.ts#L0
2) [default] › tests/variable-tooltip/variable-tooltip.spec.ts:283:7 › Variable Tooltip › should auto-save request when creating variable via tooltip
Worker teardown timeout of 30000ms exceeded while tearing down "launchElectronApp".
|
|
[default] › tests/variable-tooltip/variable-tooltip.spec.ts:283:7 › Variable Tooltip › should auto-save request when creating variable via tooltip:
tests/utils/page/actions.ts#L20
2) [default] › tests/variable-tooltip/variable-tooltip.spec.ts:283:7 › Variable Tooltip › should auto-save request when creating variable via tooltip
TimeoutError: locator.click: Timeout 30000ms exceeded.
Call log:
- waiting for locator('.bruno-modal-footer .submit')
at tests/utils/page/actions.ts:20
18 | // Wait for the remove collection modal to be visible
19 | await page.locator('.bruno-modal-header-title', { hasText: 'Remove Collection' }).waitFor({ state: 'visible' });
> 20 | await page.locator('.bruno-modal-footer .submit').click();
| ^
21 | // Wait for the remove collection modal to be hidden
22 | await page.locator('.bruno-modal-header-title', { hasText: 'Remove Collection' }).waitFor({ state: 'hidden' });
23 | }
at /home/runner/work/bruno/bruno/tests/utils/page/actions.ts:20:57
at closeAllCollections (/home/runner/work/bruno/bruno/tests/utils/page/actions.ts:12:3)
at /home/runner/work/bruno/bruno/tests/variable-tooltip/variable-tooltip.spec.ts:16:7
|
|
[default] › tests/variable-tooltip/variable-tooltip.spec.ts:283:7 › Variable Tooltip › should auto-save request when creating variable via tooltip:
tests/variable-tooltip/variable-tooltip.spec.ts#L14
2) [default] › tests/variable-tooltip/variable-tooltip.spec.ts:283:7 › Variable Tooltip › should auto-save request when creating variable via tooltip
Test timeout of 30000ms exceeded while running "afterEach" hook.
12 |
13 | test.describe('Variable Tooltip', () => {
> 14 | test.afterEach(async ({ page }) => {
| ^
15 | if (!page.isClosed()) {
16 | await closeAllCollections(page);
17 | }
at /home/runner/work/bruno/bruno/tests/variable-tooltip/variable-tooltip.spec.ts:14:8
|
|
[default] › tests/variable-tooltip/variable-tooltip.spec.ts:283:7 › Variable Tooltip › should auto-save request when creating variable via tooltip:
tests/variable-tooltip/variable-tooltip.spec.ts#L318
2) [default] › tests/variable-tooltip/variable-tooltip.spec.ts:283:7 › Variable Tooltip › should auto-save request when creating variable via tooltip
TimeoutError: locator.hover: Timeout 30000ms exceeded.
Call log:
- waiting for locator('#request-url .CodeMirror').locator('.cm-variable-invalid').filter({ hasText: 'myApiKey' }).first()
- locator resolved to <span class="cm-variable-invalid cm-random-d7b">{{myApiKey}}</span>
- attempting hover action
2 × waiting for element to be visible and stable
- element is visible and stable
- scrolling into view if needed
- done scrolling
- <div class="go2072408551">…</div> from <div>…</div> subtree intercepts pointer events
- retrying hover action
- waiting 20ms
- waiting for element to be visible and stable
- element is visible and stable
- scrolling into view if needed
- done scrolling
- <div class="go2072408551">…</div> from <div>…</div> subtree intercepts pointer events
- retrying hover action
- waiting 100ms
- waiting for element to be visible and stable
- element was detached from the DOM, retrying
- locator resolved to <span title="Hold Ctrl and click to open link" data-url="https://api.example.com/users/{{myApiKey}" class="cm-variable-invalid cm-random-d7b CodeMirror-link">{{myApiKey}</span>
- attempting hover action
2 × waiting for element to be visible and stable
- element is visible and stable
- scrolling into view if needed
- done scrolling
- <div class="go2072408551">…</div> from <div>…</div> subtree intercepts pointer events
- retrying hover action
- waiting 20ms
- waiting for element to be visible and stable
- element is visible and stable
- scrolling into view if needed
- done scrolling
- <div class="go2072408551">…</div> from <div>…</div> subtree intercepts pointer events
- retrying hover action
- waiting 100ms
- waiting for element to be visible and stable
- element is visible and stable
- scrolling into view if needed
- done scrolling
- <div role="status" aria-live="polite" class="go3958317564">Sandbox mode updated successfully</div> from <div>…</div> subtree intercepts pointer events
- retrying hover action
- waiting 100ms
11 × waiting for element to be visible and stable
- element is visible and stable
- scrolling into view if needed
- done scrolling
- <div class="go2072408551">…</div> from <div>…</div> subtree intercepts pointer events
- retrying hover action
- waiting 500ms
- waiting for element to be visible and stable
- element is visible and stable
- scrolling into view if needed
- done scrolling
- <div class="go2072408551">…</div> from <div>…</div> subtree intercepts pointer events
- retrying hover action
- waiting 500ms
- waiting for element to be visible and stable
- element is visible and stable
- scrolling into view if needed
- done scrolling
- <div class="go2072408551">…</div> from <div>…</div> subtree intercepts pointer events
- retrying hover action
- waiting 500ms
- waiting for element to be visible and stable
- element is visible and stable
- scrolling into view if needed
- done scrolling
- <div role="status" aria-live="polite" class="go3958317564">Sandbox mode updated successfully</div> from <div>…</div> subtree intercepts pointer events
- retrying hover action
- waiting 500ms
3 × waiting for element to be visible and stable
- element is visible and stable
- scrolling into view if needed
- done scrolling
- <div class="go2072
|
|
[default] › tests/variable-tooltip/variable-tooltip.spec.ts:283:7 › Variable Tooltip › should auto-save request when creating variable via tooltip:
tests/variable-tooltip/variable-tooltip.spec.ts#L0
2) [default] › tests/variable-tooltip/variable-tooltip.spec.ts:283:7 › Variable Tooltip › should auto-save request when creating variable via tooltip
Test timeout of 30000ms exceeded.
|
|
[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
46 × 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 E2E Tests
Worker teardown timeout of 30000ms exceeded.
Failed worker ran 91 tests, last 10 tests were:
[default] › tests/runner/collection-run-report/collection-run-report.spec.ts:21:7 › Collection Run Report Tests › CLI: Run collection and generate JUnit report
[default] › tests/scripting/inbuilt-libraries/fs/fs.spec.ts:6:9 › `fs` library › should allow `fs` library › developer mode
[default] › tests/scripting/inbuilt-libraries/fs/fs.spec.ts:24:9 › `fs` library › should allow `fs` library › safe mode
[default] › tests/scripting/inbuilt-libraries/fs/fs.spec.ts:44:9 › `fs` library › should disallow `fs` library › developer mode
[default] › tests/scripting/inbuilt-libraries/fs/fs.spec.ts:62:9 › `fs` library › should disallow `fs` library › safe mode
[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
|
|
234 tests found
There are 234 tests, see "Raw output" for the full list of tests.
|
|
🎭 Playwright Run Summary
2 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/variable-tooltip/variable-tooltip.spec.ts:283:7 › Variable Tooltip › should auto-save request when creating variable via tooltip
5 skipped
183 passed (11.1m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
playwright-report
|
12.6 MB |
sha256:cd59bf0010bacb68ef76b341a146661ed59af0d018d2295fd5f7165fc0d5f336
|
|