mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
test: make workspace list tests stable
This commit is contained in:
@@ -18,7 +18,5 @@ export async function createWorkspace(
|
||||
await page.getByPlaceholder('Set a Workspace name').fill(params.name);
|
||||
|
||||
// click create button
|
||||
await page.getByRole('button', { name: 'Create' }).click();
|
||||
|
||||
return page.waitForTimeout(300);
|
||||
return page.getByRole('button', { name: 'Create' }).click();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user