feat(common): add patternHasher utility for hashing and restoring string from special characters #6793
tests.yml
on: pull_request
Unit Tests
4m 19s
CLI Tests
2m 42s
Playwright E2E Tests
11m 8s
Annotations
4 errors and 1 notice
|
CLI Tests
Process completed with exit code 1.
|
|
[default] › tests/environments/import-environment/collection-env-import.spec.ts:10:7 › Collection Environment Import Tests › should import collection environment from file:
tests/utils/page/actions.ts#L13
1) [default] › tests/environments/import-environment/collection-env-import.spec.ts:10:7 › Collection Environment Import Tests › should import collection environment from file
TimeoutError: locator.click: Timeout 30000ms exceeded.
Call log:
- waiting for locator('.collection-name').first().locator('.collection-actions')
- locator resolved to <div class="collection-actions" data-testid="collection-actions">…</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__Wrapper-bFEkFv bLvctg bruno-modal">…</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__Wrapper-bFEkFv bLvctg bruno-modal">…</div> subtree intercepts pointer events
- retrying click action
- waiting 100ms
58 × 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 bLvctg bruno-modal">…</div> subtree intercepts pointer events
- retrying click action
- waiting 500ms
at tests/utils/page/actions.ts:13
11 |
12 | for (let i = 0; i < numberOfCollections; i++) {
> 13 | await page.locator('.collection-name').first().locator('.collection-actions').click();
| ^
14 | await page.locator('.dropdown-item').getByText('Close').click();
15 | // Wait for the close collection modal to be visible
16 | await page.locator('.bruno-modal-header-title', { hasText: 'Close Collection' }).waitFor({ state: 'visible' });
at /home/runner/work/bruno/bruno/tests/utils/page/actions.ts:13:85
at closeAllCollections (/home/runner/work/bruno/bruno/tests/utils/page/actions.ts:9:3)
at /home/runner/work/bruno/bruno/tests/environments/import-environment/collection-env-import.spec.ts:7:5
|
|
[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#L6
1) [default] › tests/environments/import-environment/collection-env-import.spec.ts:10:7 › Collection Environment Import Tests › should import collection environment from file
"afterAll" hook timeout of 30000ms exceeded.
4 |
5 | test.describe('Collection Environment Import Tests', () => {
> 6 | test.afterAll(async ({ page }) => {
| ^
7 | await closeAllCollections(page);
8 | });
9 |
at /home/runner/work/bruno/bruno/tests/environments/import-environment/collection-env-import.spec.ts:6:8
|
|
[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#L97
1) [default] › tests/environments/import-environment/collection-env-import.spec.ts:10:7 › Collection Environment Import Tests › should import collection environment from file
Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Close' }) resolved to 2 elements:
1) <button type="submit" class="submit btn btn-md btn-secondary">Close</button> aka getByRole('button', { name: 'Close', exact: true })
2) <button tabindex="-1" title="Close console" data-tabindex="inline" class="control-button close-button">…</button> aka getByRole('button', { name: 'Close console' })
Call log:
- waiting for getByRole('button', { name: 'Close' })
95 | await page.locator('.dropdown-item').filter({ hasText: 'Close' }).click();
96 | await page.locator('.dropdown-item').filter({ hasText: 'Close' }).waitFor({ state: 'detached' });
> 97 | await page.getByRole('button', { name: 'Close' }).click();
| ^
98 | });
99 | });
100 |
at /home/runner/work/bruno/bruno/tests/environments/import-environment/collection-env-import.spec.ts:97:55
|
|
🎭 Playwright Run Summary
1 flaky
[default] › tests/environments/import-environment/collection-env-import.spec.ts:10:7 › Collection Environment Import Tests › should import collection environment from file
147 passed (7.8m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
playwright-report
|
1.34 MB |
sha256:66efc99e549ab3871782662827d8dc8ac5218292aa3c7e489b7ca3f89efb92f0
|
|