test(e2e): harden workspace collaboration coverage #17022
Annotations
11 errors
|
|
|
Run UI P0 domain
The operation was canceled.
|
|
Run UI P0 domain:
e2e/ui/app-restoration.test.ts#L1208
4) [chromium] βΊ ui/app-restoration.test.ts:1134:1 βΊ [P0] opening an uploaded file route keeps the older conversation present in history
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: expect(locator).toBeVisible() failed
Locator: locator('.ws-tab[role="tab"]').filter({ has: locator('.ws-tab-label').filter({ hasText: 'conversation-surface-reference.png' }) }).first()
Expected: visible
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 10000ms
- waiting for locator('.ws-tab[role="tab"]').filter({ has: locator('.ws-tab-label').filter({ hasText: 'conversation-surface-reference.png' }) }).first()
1206 | });
1207 | const uploadedFileTab = tabBySuffix(page, 'conversation-surface-reference.png');
> 1208 | await expect(uploadedFileTab).toBeVisible();
| ^
1209 | const uploadedName = await uploadedFileTab.getAttribute('title');
1210 | expect(uploadedName).toBeTruthy();
1211 |
at /home/runner/work/open-design/open-design/e2e/ui/app-restoration.test.ts:1208:33
|
|
Run UI P0 domain:
e2e/ui/app-restoration.test.ts#L1208
4) [chromium] βΊ ui/app-restoration.test.ts:1134:1 βΊ [P0] opening an uploaded file route keeps the older conversation present in history
Error: expect(locator).toBeVisible() failed
Locator: locator('.ws-tab[role="tab"]').filter({ has: locator('.ws-tab-label').filter({ hasText: 'conversation-surface-reference.png' }) }).first()
Expected: visible
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 10000ms
- waiting for locator('.ws-tab[role="tab"]').filter({ has: locator('.ws-tab-label').filter({ hasText: 'conversation-surface-reference.png' }) }).first()
1206 | });
1207 | const uploadedFileTab = tabBySuffix(page, 'conversation-surface-reference.png');
> 1208 | await expect(uploadedFileTab).toBeVisible();
| ^
1209 | const uploadedName = await uploadedFileTab.getAttribute('title');
1210 | expect(uploadedName).toBeTruthy();
1211 |
at /home/runner/work/open-design/open-design/e2e/ui/app-restoration.test.ts:1208:33
|
|
Run UI P0 domain:
e2e/ui/app-restoration.test.ts#L1018
3) [chromium] βΊ ui/app-restoration.test.ts:945:1 βΊ [P0] returning from workspace surfaces keeps the older conversation reachable from history
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: expect(locator).toBeVisible() failed
Locator: locator('.ws-tab[role="tab"]').filter({ has: locator('.ws-tab-label').filter({ hasText: 'surface-restore.png' }) }).first()
Expected: visible
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 10000ms
- waiting for locator('.ws-tab[role="tab"]').filter({ has: locator('.ws-tab-label').filter({ hasText: 'surface-restore.png' }) }).first()
1016 | ),
1017 | });
> 1018 | await expect(tabBySuffix(page, 'surface-restore.png')).toBeVisible();
| ^
1019 |
1020 | await page.getByTestId('conversation-history-trigger').click();
1021 | const historyList = page.getByTestId('conversation-list');
at /home/runner/work/open-design/open-design/e2e/ui/app-restoration.test.ts:1018:58
|
|
Run UI P0 domain:
e2e/ui/app-restoration.test.ts#L1018
3) [chromium] βΊ ui/app-restoration.test.ts:945:1 βΊ [P0] returning from workspace surfaces keeps the older conversation reachable from history
Error: expect(locator).toBeVisible() failed
Locator: locator('.ws-tab[role="tab"]').filter({ has: locator('.ws-tab-label').filter({ hasText: 'surface-restore.png' }) }).first()
Expected: visible
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 10000ms
- waiting for locator('.ws-tab[role="tab"]').filter({ has: locator('.ws-tab-label').filter({ hasText: 'surface-restore.png' }) }).first()
1016 | ),
1017 | });
> 1018 | await expect(tabBySuffix(page, 'surface-restore.png')).toBeVisible();
| ^
1019 |
1020 | await page.getByTestId('conversation-history-trigger').click();
1021 | const historyList = page.getByTestId('conversation-list');
at /home/runner/work/open-design/open-design/e2e/ui/app-restoration.test.ts:1018:58
|
|
Run UI P0 domain:
e2e/ui/app-restoration.test.ts#L344
2) [chromium] βΊ ui/app-restoration.test.ts:309:1 βΊ [P0] @critical visiting an uploaded design file route restores its tab and file workspace surface
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: expect(locator).toBeVisible() failed
Locator: locator('.ws-tab[role="tab"]').filter({ has: locator('.ws-tab-label').filter({ hasText: 'deep-linked-reference.png' }) }).first()
Expected: visible
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 10000ms
- waiting for locator('.ws-tab[role="tab"]').filter({ has: locator('.ws-tab-label').filter({ hasText: 'deep-linked-reference.png' }) }).first()
342 | await expect((await uploadResponse).ok()).toBeTruthy();
343 | const fileTab = tabBySuffix(page, 'deep-linked-reference.png');
> 344 | await expect(fileTab).toBeVisible();
| ^
345 | const uploadedName = await fileTab.getAttribute('title');
346 | expect(uploadedName).toBeTruthy();
347 |
at /home/runner/work/open-design/open-design/e2e/ui/app-restoration.test.ts:344:25
|
|
Run UI P0 domain:
e2e/ui/app-restoration.test.ts#L344
2) [chromium] βΊ ui/app-restoration.test.ts:309:1 βΊ [P0] @critical visiting an uploaded design file route restores its tab and file workspace surface
Error: expect(locator).toBeVisible() failed
Locator: locator('.ws-tab[role="tab"]').filter({ has: locator('.ws-tab-label').filter({ hasText: 'deep-linked-reference.png' }) }).first()
Expected: visible
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 10000ms
- waiting for locator('.ws-tab[role="tab"]').filter({ has: locator('.ws-tab-label').filter({ hasText: 'deep-linked-reference.png' }) }).first()
342 | await expect((await uploadResponse).ok()).toBeTruthy();
343 | const fileTab = tabBySuffix(page, 'deep-linked-reference.png');
> 344 | await expect(fileTab).toBeVisible();
| ^
345 | const uploadedName = await fileTab.getAttribute('title');
346 | expect(uploadedName).toBeTruthy();
347 |
at /home/runner/work/open-design/open-design/e2e/ui/app-restoration.test.ts:344:25
|
|
Run UI P0 domain:
e2e/ui/app-restoration.test.ts#L242
1) [chromium] βΊ ui/app-restoration.test.ts:203:1 βΊ [P0] switching between projects restores each project workspace to its last active file tab
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: expect(locator).toBeVisible() failed
Locator: locator('.ws-tab[role="tab"]').filter({ has: locator('.ws-tab-label').filter({ hasText: 'alpha-primary.png' }) }).first()
Expected: visible
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 10000ms
- waiting for locator('.ws-tab[role="tab"]').filter({ has: locator('.ws-tab-label').filter({ hasText: 'alpha-primary.png' }) }).first()
240 | });
241 | await expect((await alphaPrimaryUpload).ok()).toBeTruthy();
> 242 | await expect(tabBySuffix(page, 'alpha-primary.png')).toBeVisible();
| ^
243 | const alphaSecondaryUpload = page.waitForResponse(
244 | (resp: Response) => resp.url().includes('/upload') && resp.request().method() === 'POST',
245 | { timeout: 5000 },
at /home/runner/work/open-design/open-design/e2e/ui/app-restoration.test.ts:242:56
|
|
Run UI P0 domain:
e2e/ui/app-restoration.test.ts#L242
1) [chromium] βΊ ui/app-restoration.test.ts:203:1 βΊ [P0] switching between projects restores each project workspace to its last active file tab
Error: expect(locator).toBeVisible() failed
Locator: locator('.ws-tab[role="tab"]').filter({ has: locator('.ws-tab-label').filter({ hasText: 'alpha-primary.png' }) }).first()
Expected: visible
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 10000ms
- waiting for locator('.ws-tab[role="tab"]').filter({ has: locator('.ws-tab-label').filter({ hasText: 'alpha-primary.png' }) }).first()
240 | });
241 | await expect((await alphaPrimaryUpload).ok()).toBeTruthy();
> 242 | await expect(tabBySuffix(page, 'alpha-primary.png')).toBeVisible();
| ^
243 | const alphaSecondaryUpload = page.waitForResponse(
244 | (resp: Response) => resp.url().includes('/upload') && resp.request().method() === 'POST',
245 | { timeout: 5000 },
at /home/runner/work/open-design/open-design/e2e/ui/app-restoration.test.ts:242:56
|
|
|
background
wait
wait-all
cancel
parallel
Loading