[MS] Fix back button error homepage and multi-handle navigation errors #38964
Annotations
3 errors and 1 notice
|
Merge playwright shard report:
../../../../../github/workspace/client/tests/e2e/specs/workspace_history.spec.ts#L189
3) [Chromium] › tests/e2e/specs/workspace_history.spec.ts:179:3 › Workspace history breadcrumbs ──
Error: expect(locator).toHaveCount(expected) failed
Locator: locator('.history-container').locator('.navigation-breadcrumb').locator('ion-breadcrumb')
Expected: 1
Received: 0
Call log:
- Expect "toHaveCount" with timeout 5000ms
- waiting for locator('.history-container').locator('.navigation-breadcrumb').locator('ion-breadcrumb')
2 × locator resolved to 4 elements
- unexpected value "4"
6 × locator resolved to 0 elements
- unexpected value "0"
- Target page, context or browser has been closed
187 | async function headerContentMatch(breadcrumbs: Array<string | RegExp>): Promise<void> {
188 | const bcs = documents.locator('.history-container').locator('.navigation-breadcrumb').locator('ion-breadcrumb');
> 189 | expect(bcs).toHaveCount(breadcrumbs.length);
| ^
190 | await expect(bcs).toHaveText(breadcrumbs, { useInnerText: true });
191 | }
192 |
at headerContentMatch (/github/workspace/client/tests/e2e/specs/workspace_history.spec.ts:189:19)
at /github/workspace/client/tests/e2e/specs/workspace_history.spec.ts:231:11
|
|
Merge playwright shard report:
../../../../../github/workspace/client/tests/e2e/helpers/assertions.ts#L165
2) [Chromium] › tests/e2e/specs/file_import.spec.ts:115:3 › Import by drag and drop on folder in grid mode
Error: expect(locator).toHaveCount(expected) failed
Locator: locator('#connected-header').locator('.topbar-left').locator('ion-breadcrumbs').locator('ion-breadcrumb')
Expected: 3
Received: 2
Call log:
- Expect "toHaveCount" with timeout 5000ms
- waiting for locator('#connected-header').locator('.topbar-left').locator('ion-breadcrumbs').locator('ion-breadcrumb')
- locator resolved to 2 elements
- unexpected value "2"
- Target page, context or browser has been closed
at helpers/assertions.ts:165
163 | }
164 | const bcs = header.locator('ion-breadcrumbs').locator('ion-breadcrumb');
> 165 | expect(bcs).toHaveCount(breadcrumbs.length);
| ^
166 | await expect(bcs).toHaveText(breadcrumbs, { useInnerText: true });
167 | } catch (error: any) {
168 | pass = false;
at Object.toHaveHeader (/github/workspace/client/tests/e2e/helpers/assertions.ts:165:19)
at /github/workspace/client/tests/e2e/specs/file_import.spec.ts:166:5
|
|
Merge playwright shard report:
../../../../../github/workspace/client/tests/e2e/helpers/fixtures.ts#L665
1) [Chromium] › tests/e2e/specs/client_area_custom_order_statistics.spec.ts:66:3 › Test initial status org not bootstrapped
Error: Element has a 'disabled' attribute.
at helpers/fixtures.ts:665
663 |
664 | await expect(loginButton).toHaveText('Log in');
> 665 | await expect(loginButton).toBeTrulyEnabled();
| ^
666 | await loginButton.click();
667 | await expect(home).toHaveURL(/.+\/clientArea$/);
668 |
at Object.clientAreaCustomOrder (/github/workspace/client/tests/e2e/helpers/fixtures.ts:665:31)
|
|
Merge playwright shard report
3 flaky
[Chromium] › tests/e2e/specs/client_area_custom_order_statistics.spec.ts:66:3 › Test initial status org not bootstrapped
[Chromium] › tests/e2e/specs/file_import.spec.ts:115:3 › Import by drag and drop on folder in grid mode
[Chromium] › tests/e2e/specs/workspace_history.spec.ts:179:3 › Workspace history breadcrumbs ───
14 skipped
674 passed (19.5m)
|
background
wait
wait-all
cancel
parallel
Loading