fix: export then add test case (#7024)

This commit is contained in:
pengx17
2024-05-24 04:49:07 +00:00
parent 7c2f60c441
commit 5e1528b50b
4 changed files with 20 additions and 41 deletions
+1 -3
View File
@@ -20,9 +20,7 @@ const historyShortcut = async (page: Page, command: 'goBack' | 'goForward') => {
};
test('new page', async ({ page, workspace }) => {
await page.getByTestId('sidebar-new-page-button').click({
delay: 100,
});
await page.getByTestId('sidebar-new-page-button').click();
await page.waitForSelector('v-line');
const flavour = (await workspace.current()).meta.flavour;
expect(flavour).toBe('local');