chore(core): temporarily remove set-syncing-mode (#4489)

This commit is contained in:
JimmFly
2023-09-26 22:11:04 +08:00
committed by GitHub
parent 29fa237dfb
commit 1b6cd70247
4 changed files with 19 additions and 26 deletions

View File

@@ -19,9 +19,9 @@ export async function createLocalWorkspace(
// open create workspace modal
await page.getByTestId('new-workspace').click();
const isDesktop: boolean = await page.evaluate(() => {
return !!window.appInfo?.electron;
}, []);
// const isDesktop: boolean = await page.evaluate(() => {
// return !!window.appInfo?.electron;
// }, []);
// input workspace name
await page.getByPlaceholder('Set a Workspace name').click();
@@ -32,7 +32,7 @@ export async function createLocalWorkspace(
delay: 500,
});
if (isDesktop) {
await page.getByTestId('create-workspace-continue-button').click();
}
// if (isDesktop) {
// await page.getByTestId('create-workspace-continue-button').click();
// }
}