refactor: workspace manager (#5060)

This commit is contained in:
EYHN committed 2023-12-15 07:20:50 +00:00
1 parent af15aa06d4
commit fe2851d3e9
217 files changed
+3603 -4242

No files matched your search

@@ -25,7 +25,7 @@ test('just one item in the workspace list at first', async ({
).not.toBeNull();
const currentWorkspace = await workspace.current();
expect(currentWorkspace.flavour).toContain('local');
expect(currentWorkspace.meta.flavour).toContain('local');
});
test('create one workspace in the workspace list', async ({
@@ -57,7 +57,7 @@ test('create one workspace in the workspace list', async ({
expect(result1).toBe(11);
const currentWorkspace = await workspace.current();
expect(currentWorkspace.flavour).toContain('local');
expect(currentWorkspace.meta.flavour).toContain('local');
});
test('create multi workspace in the workspace list', async ({
@@ -88,7 +88,7 @@ test('create multi workspace in the workspace list', async ({
const currentWorkspace = await workspace.current();
expect(currentWorkspace.flavour).toContain('local');
expect(currentWorkspace.meta.flavour).toContain('local');
await openWorkspaceListModal(page);
await page.waitForTimeout(1000);
@@ -142,5 +142,5 @@ test('create multi workspace in the workspace list', async ({
const nextWorkspace = await workspace.current();
expect(currentWorkspace.id).toBe(nextWorkspace.id);
expect(currentWorkspace.meta.id).toBe(nextWorkspace.meta.id);
});