mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 20:38:52 +00:00
refactor: workspace manager (#5060)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { openHomePage } from '@affine-test/kit/utils/load-page';
|
||||
import {
|
||||
clickNewPageButton,
|
||||
waitForAllPagesLoad,
|
||||
waitForEditorLoad,
|
||||
} from '@affine-test/kit/utils/page-logic';
|
||||
import {
|
||||
@@ -191,7 +192,7 @@ export async function enableCloudWorkspace(page: Page) {
|
||||
await page.getByTestId('confirm-enable-affine-cloud-button').click();
|
||||
// wait for upload and delete local workspace
|
||||
await page.waitForTimeout(2000);
|
||||
await waitForEditorLoad(page);
|
||||
await waitForAllPagesLoad(page);
|
||||
await clickNewPageButton(page);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user