feat: add preloading template (#2655)
Co-authored-by: Himself65 <himself65@outlook.com>
This commit is contained in:
1 parent
c4c4ec6a67
commit
35fb10c95b
67 files changed
+6761
-287
No files matched your search
@@ -4,14 +4,14 @@ import { test, testResultDir } 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';
|
||||
import { clickSideBarSettingButton } from '../libs/sidebar';
|
||||
|
||||
test('Should highlight the setting page menu when selected', async ({
|
||||
page,
|
||||
}) => {
|
||||
await openHomePage(page);
|
||||
await waitMarkdownImported(page);
|
||||
await waitEditorLoad(page);
|
||||
const element = await page.getByTestId('slider-bar-workspace-setting-button');
|
||||
const prev = await element.screenshot({
|
||||
path: resolve(
|
||||
|
||||
Reference in new issue
Block a user