fix(workspace): preserve scoped projects after main sync #17041
Annotations
10 errors and 1 notice
|
Run UI P0 domain:
e2e/ui/app-restoration.test.ts#L957
6) [chromium] βΊ ui/app-restoration.test.ts:925: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()
955 | });
956 | const uploadedFileTab = tabBySuffix(page, 'conversation-surface-reference.png');
> 957 | await expect(uploadedFileTab).toBeVisible();
| ^
958 | const uploadedName = await uploadedFileTab.getAttribute('title');
959 | expect(uploadedName).toBeTruthy();
960 |
at /home/runner/work/open-design/open-design/e2e/ui/app-restoration.test.ts:957:33
|
|
Run UI P0 domain:
e2e/ui/app-restoration.test.ts#L853
5) [chromium] βΊ ui/app-restoration.test.ts:822: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()
851 | ),
852 | });
> 853 | await expect(tabBySuffix(page, 'surface-restore.png')).toBeVisible();
| ^
854 |
855 | await page.getByTestId('conversation-history-trigger').click();
856 | const historyList = page.getByTestId('conversation-list');
at /home/runner/work/open-design/open-design/e2e/ui/app-restoration.test.ts:853:58
|
|
Run UI P0 domain:
e2e/ui/app-restoration.test.ts#L853
5) [chromium] βΊ ui/app-restoration.test.ts:822: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()
851 | ),
852 | });
> 853 | await expect(tabBySuffix(page, 'surface-restore.png')).toBeVisible();
| ^
854 |
855 | await page.getByTestId('conversation-history-trigger').click();
856 | const historyList = page.getByTestId('conversation-list');
at /home/runner/work/open-design/open-design/e2e/ui/app-restoration.test.ts:853:58
|
|
Run UI P0 domain:
e2e/ui/app-restoration.test.ts#L417
4) [chromium] βΊ ui/app-restoration.test.ts:389:1 βΊ [P0] returning from an uploaded design file route to the project root keeps the uploaded file tab active
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: expect(locator).toBeVisible() failed
Locator: locator('[data-testid^="design-file-row-"]').filter({ hasText: 'root-design-reference.png' })
Expected: visible
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 10000ms
- waiting for locator('[data-testid^="design-file-row-"]').filter({ hasText: 'root-design-reference.png' })
415 | hasText: 'root-design-reference.png',
416 | });
> 417 | await expect(fileRow).toBeVisible();
| ^
418 | await fileRow.getByRole('button').first().click();
419 | await expect(page.getByTestId('design-file-preview')).toBeVisible();
420 |
at /home/runner/work/open-design/open-design/e2e/ui/app-restoration.test.ts:417:25
|
|
Run UI P0 domain:
e2e/ui/app-restoration.test.ts#L409
4) [chromium] βΊ ui/app-restoration.test.ts:389:1 βΊ [P0] returning from an uploaded design file route to the project root keeps the uploaded file tab active
Error: expect(locator).toBeVisible() failed
Locator: locator('.ws-tab[role="tab"]').filter({ has: locator('.ws-tab-label').filter({ hasText: 'root-design-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: 'root-design-reference.png' }) }).first()
407 | await expect((await uploadResponse).ok()).toBeTruthy();
408 | const fileTab = tabBySuffix(page, 'root-design-reference.png');
> 409 | await expect(fileTab).toBeVisible();
| ^
410 | const uploadedName = await fileTab.getAttribute('title');
411 | expect(uploadedName).toBeTruthy();
412 |
at /home/runner/work/open-design/open-design/e2e/ui/app-restoration.test.ts:409:25
|
|
Run UI P0 domain:
e2e/ui/app-restoration.test.ts#L364
3) [chromium] βΊ ui/app-restoration.test.ts:348: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()
362 | });
363 | const fileTab = tabBySuffix(page, 'deep-linked-reference.png');
> 364 | await expect(fileTab).toBeVisible();
| ^
365 | const uploadedName = await fileTab.getAttribute('title');
366 | expect(uploadedName).toBeTruthy();
367 |
at /home/runner/work/open-design/open-design/e2e/ui/app-restoration.test.ts:364:25
|
|
Run UI P0 domain:
e2e/ui/app-restoration.test.ts#L3062
2) [chromium] βΊ ui/app-restoration.test.ts:155:1 βΊ [P0] @critical workspace restores the last manually selected file tab after reload instead of jumping back to the generated artifact
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: expect(received).toBe(expected) // Object.is equality
Expected: true
Received: false
Call Log:
- Timeout 20000ms exceeded while waiting on the predicate
3060 | );
3061 | }, { timeout: T.medium })
> 3062 | .toBe(true);
| ^
3063 | }
3064 |
3065 | async function expectProjectFilesToIncludeSuffixes(
at expectPersistedArtifactMessage (/home/runner/work/open-design/open-design/e2e/ui/app-restoration.test.ts:3062:6)
at /home/runner/work/open-design/open-design/e2e/ui/app-restoration.test.ts:200:9
|
|
Run UI P0 domain:
e2e/ui/app-restoration.test.ts#L3062
2) [chromium] βΊ ui/app-restoration.test.ts:155:1 βΊ [P0] @critical workspace restores the last manually selected file tab after reload instead of jumping back to the generated artifact
Error: expect(received).toBe(expected) // Object.is equality
Expected: true
Received: false
Call Log:
- Timeout 20000ms exceeded while waiting on the predicate
3060 | );
3061 | }, { timeout: T.medium })
> 3062 | .toBe(true);
| ^
3063 | }
3064 |
3065 | async function expectProjectFilesToIncludeSuffixes(
at expectPersistedArtifactMessage (/home/runner/work/open-design/open-design/e2e/ui/app-restoration.test.ts:3062:6)
at /home/runner/work/open-design/open-design/e2e/ui/app-restoration.test.ts:200:9
|
|
Run UI P0 domain:
e2e/ui/app-restoration.test.ts#L2485
1) [chromium] βΊ ui/app-restoration.test.ts:257:1 βΊ [P0] switching between projects restores each project workspace to its last active file tab
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: expect(locator).toBeVisible() failed
Locator: locator('[data-testid^="design-file-row-"][data-testid$="alpha-secondary.png"]').first()
Expected: visible
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 10000ms
- waiting for locator('[data-testid^="design-file-row-"][data-testid$="alpha-secondary.png"]').first()
2483 | // the row by test id β image cards render no filename text to match on.
2484 | const row = rowBySuffix(page, fileName);
> 2485 | await expect(row).toBeVisible();
| ^
2486 | await row.getByRole('button').first().click();
2487 | await expect(tab).toHaveAttribute('aria-selected', 'true');
2488 | }
at openDesignFile (/home/runner/work/open-design/open-design/e2e/ui/app-restoration.test.ts:2485:21)
at ensureFileTabOpen (/home/runner/work/open-design/open-design/e2e/ui/app-restoration.test.ts:2607:3)
at /home/runner/work/open-design/open-design/e2e/ui/app-restoration.test.ts:294:29
|
|
Run UI P0 domain:
e2e/ui/app-restoration.test.ts#L2485
1) [chromium] βΊ ui/app-restoration.test.ts:257:1 βΊ [P0] switching between projects restores each project workspace to its last active file tab
Error: expect(locator).toBeVisible() failed
Locator: locator('[data-testid^="design-file-row-"][data-testid$="alpha-secondary.png"]').first()
Expected: visible
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 10000ms
- waiting for locator('[data-testid^="design-file-row-"][data-testid$="alpha-secondary.png"]').first()
2483 | // the row by test id β image cards render no filename text to match on.
2484 | const row = rowBySuffix(page, fileName);
> 2485 | await expect(row).toBeVisible();
| ^
2486 | await row.getByRole('button').first().click();
2487 | await expect(tab).toHaveAttribute('aria-selected', 'true');
2488 | }
at openDesignFile (/home/runner/work/open-design/open-design/e2e/ui/app-restoration.test.ts:2485:21)
at ensureFileTabOpen (/home/runner/work/open-design/open-design/e2e/ui/app-restoration.test.ts:2607:3)
at /home/runner/work/open-design/open-design/e2e/ui/app-restoration.test.ts:294:29
|
|
Run UI P0 domain
8 failed
[chromium] βΊ ui/app-restoration.test.ts:155:1 βΊ [P0] @critical workspace restores the last manually selected file tab after reload instead of jumping back to the generated artifact
[chromium] βΊ ui/app-restoration.test.ts:257:1 βΊ [P0] switching between projects restores each project workspace to its last active file tab
[chromium] βΊ ui/app-restoration.test.ts:389:1 βΊ [P0] returning from an uploaded design file route to the project root keeps the uploaded file tab active
[chromium] βΊ ui/app-restoration.test.ts:822:1 βΊ [P0] returning from workspace surfaces keeps the older conversation reachable from history
[chromium] βΊ ui/app-restoration.test.ts:925:1 βΊ [P0] opening an uploaded file route keeps the older conversation present in history
[chromium] βΊ ui/app-restoration.test.ts:1066:1 βΊ [P0] returning from a file deep-link to the project root keeps the chosen file tab active
[chromium] βΊ ui/app-restoration.test.ts:1151:1 βΊ [P0] a later completed run updates the workspace to the newest artifact tab
[chromium] βΊ ui/app-restoration.test.ts:1219:1 βΊ [P0] @critical daemon error details persist between failed sends
1 flaky
[chromium] βΊ ui/app-restoration.test.ts:348:1 βΊ [P0] @critical visiting an uploaded design file route restores its tab and file workspace surface
20 passed (21.1m)
|
background
wait
wait-all
cancel
parallel
Loading