refactor: new provider (#4900)

This commit is contained in:
EYHN authored and GitHub committed 2023-11-17 15:50:01 +08:00
1 parent 9baad36e41
commit aa4c7407de
48 files changed
+1783 -1480

No files matched your search

+2 -2
View File
@@ -110,11 +110,11 @@ test('Different workspace should have different name in the setting panel', asyn
await createLocalWorkspace({ name: 'New Workspace 3' }, page);
await openSettingModal(page);
await page.getByTestId('current-workspace-label').click();
expect(await page.getByTestId('workspace-name-input').inputValue()).toBe(
await expect(page.getByTestId('workspace-name-input')).toHaveValue(
'New Workspace 3'
);
await page.getByText('New Workspace 2').click();
expect(await page.getByTestId('workspace-name-input').inputValue()).toBe(
await expect(page.getByTestId('workspace-name-input')).toHaveValue(
'New Workspace 2'
);
});