feat: new workspace switch dropdown design (#3700)

Co-authored-by: Alex Yang <himself65@outlook.com>
This commit is contained in:
danielchimandAlex Yang authored and GitHub committed 2023-08-16 17:18:43 -05:00
1 parent f369ca39f7
commit 9ab9c0c70d
11 files changed
+368 -192

No files matched your search

@@ -45,8 +45,7 @@ test('create one workspace in the workspace list', async ({
expect(workspaceCards.length).toBe(2);
//check page list length
const closeWorkspaceModal = page.getByTestId('close-workspace-modal');
await closeWorkspaceModal.click();
await page.keyboard.press('Escape');
await clickSideBarAllPageButton(page);
await page.waitForTimeout(1000);
const pageList = page.locator('[data-testid=page-list-item]');
@@ -91,6 +90,7 @@ test('create multi workspace in the workspace list', async ({
expect(currentWorkspace.flavour).toContain('local');
await openWorkspaceListModal(page);
await page.waitForTimeout(1000);
const sourceElement = page.getByTestId('draggable-item').nth(2);
const targetElement = page.getByTestId('draggable-item').nth(1);