feat: add preloading template (#2655)

Co-authored-by: Himself65 <himself65@outlook.com>
This commit is contained in:
FlrandeandHimself65 authored and GitHub committed 2023-06-07 17:31:54 +08:00
1 parent c4c4ec6a67
commit 35fb10c95b
67 files changed
+6761 -287

No files matched your search

@@ -2,7 +2,7 @@ import { test } from '@affine-test/kit/playwright';
import { expect } from '@playwright/test';
import { openHomePage } from '../libs/load-page';
import { waitMarkdownImported } from '../libs/page-logic';
import { waitEditorLoad } from '../libs/page-logic';
test('drag a page from "All pages" list onto the "Trash" folder in the sidebar to move it to trash list', async ({
page,
@@ -11,7 +11,7 @@ test('drag a page from "All pages" list onto the "Trash" folder in the sidebar t
// Init test db with known workspaces and open "All Pages" page via url directly
{
await openHomePage(page);
await waitMarkdownImported(page);
await waitEditorLoad(page);
await page.getByText('All Pages').click();
}