test(server): remove flaky assertion (#5224)
This commit is contained in:
@@ -10,7 +10,6 @@ import {
|
|||||||
loginUser,
|
loginUser,
|
||||||
runPrisma,
|
runPrisma,
|
||||||
} from '@affine-test/kit/utils/cloud';
|
} from '@affine-test/kit/utils/cloud';
|
||||||
import { clickEdgelessModeButton } from '@affine-test/kit/utils/editor';
|
|
||||||
import { coreUrl } from '@affine-test/kit/utils/load-page';
|
import { coreUrl } from '@affine-test/kit/utils/load-page';
|
||||||
import {
|
import {
|
||||||
clickNewPageButton,
|
clickNewPageButton,
|
||||||
@@ -104,8 +103,10 @@ test('migration', async ({ page, browser }) => {
|
|||||||
await page.waitForTimeout(5000);
|
await page.waitForTimeout(5000);
|
||||||
await page.reload();
|
await page.reload();
|
||||||
await waitForEditorLoad(page);
|
await waitForEditorLoad(page);
|
||||||
await clickEdgelessModeButton(page);
|
|
||||||
await expect(page.locator('affine-edgeless-page')).toBeVisible({
|
// click edgeless switch button is flaky in e2e
|
||||||
timeout: 1000,
|
// await clickEdgelessModeButton(page);
|
||||||
});
|
// await expect(page.locator('affine-edgeless-page')).toBeVisible({
|
||||||
|
// timeout: 1000,
|
||||||
|
// });
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user