refactor(core): move setting dialog to workspace scope (#9706)

This commit is contained in:
pengx17
2025-01-15 13:00:06 +00:00
parent 9df338274d
commit b1896746f9
32 changed files with 248 additions and 277 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ test('delete workspace', async ({ page }) => {
// });
await page.waitForTimeout(1000);
await clickSideBarSettingButton(page);
await page.getByTestId('workspace-list-item-workspace:preference').click();
await page.getByTestId('workspace-setting:preference').click();
await expect(page.getByTestId('workspace-name-input')).toHaveValue(
'Delete Me'
);
+1 -1
View File
@@ -42,7 +42,7 @@ test('export then add', async ({ page, appInfo, workspace }) => {
const newWorkspaceName = 'new-test-name';
// goto workspace setting
await page.getByTestId('workspace-list-item-workspace:preference').click();
await page.getByTestId('workspace-setting:preference').click();
const input = page.getByTestId('workspace-name-input');
await expect(input).toBeVisible();