mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-22 20:41:50 +08:00
test: fix migration (#4588)
This commit is contained in:
@@ -100,9 +100,11 @@ test.describe('basic', () => {
|
|||||||
timeout: 60000,
|
timeout: 60000,
|
||||||
});
|
});
|
||||||
await page.goto(
|
await page.goto(
|
||||||
// page '0773e198-5de0-45d4-a35e-de22ea72b96b' has edgeless mode
|
// page 'F1SX6cgNxy' has edgeless mode
|
||||||
`${coreUrl}/workspace/${workspaceId}/0773e198-5de0-45d4-a35e-de22ea72b96b`
|
`${coreUrl}/workspace/${workspaceId}/F1SX6cgNxy`
|
||||||
);
|
);
|
||||||
|
await page.waitForTimeout(5000);
|
||||||
|
await page.reload();
|
||||||
await waitForEditorLoad(page);
|
await waitForEditorLoad(page);
|
||||||
await clickEdgelessModeButton(page);
|
await clickEdgelessModeButton(page);
|
||||||
await expect(page.locator('affine-edgeless-page')).toBeVisible({
|
await expect(page.locator('affine-edgeless-page')).toBeVisible({
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user