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

@@ -7,12 +7,12 @@ import {
createLinkedPage,
getBlockSuiteEditorTitle,
newPage,
waitMarkdownImported,
waitEditorLoad,
} from '../libs/page-logic';
test('Show favorite items in sidebar', async ({ page }) => {
await openHomePage(page);
await waitMarkdownImported(page);
await waitEditorLoad(page);
await newPage(page);
await getBlockSuiteEditorTitle(page).click();
await getBlockSuiteEditorTitle(page).fill('this is a new page to favorite');
@@ -37,7 +37,7 @@ test('Show favorite items in sidebar', async ({ page }) => {
test('Show favorite reference in sidebar', async ({ page }) => {
await openHomePage(page);
await waitMarkdownImported(page);
await waitEditorLoad(page);
await newPage(page);
await getBlockSuiteEditorTitle(page).click();
await getBlockSuiteEditorTitle(page).fill('this is a new page to favorite');
@@ -76,7 +76,7 @@ test("Deleted page's reference will not be shown in sidebar", async ({
page,
}) => {
await openHomePage(page);
await waitMarkdownImported(page);
await waitEditorLoad(page);
await newPage(page);
await getBlockSuiteEditorTitle(page).click();
await getBlockSuiteEditorTitle(page).fill('this is a new page to favorite');