mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-03 18:40:00 +08:00
test: cover share page e2e (#4126)
This commit is contained in:
@@ -14,7 +14,7 @@ export async function waitForAllPagesLoad(page: Page) {
|
||||
});
|
||||
}
|
||||
|
||||
export async function newPage(page: Page) {
|
||||
export async function clickNewPageButton(page: Page) {
|
||||
// fixme(himself65): if too fast, the page will crash
|
||||
await page.getByTestId('new-page-button').click({
|
||||
delay: 100,
|
||||
|
||||
Reference in New Issue
Block a user