test: remove deprecated api usage (#4577)

This commit is contained in:
Alex Yang
2023-10-11 01:05:06 -05:00
committed by GitHub
parent 1f6a105e5c
commit 8f5ee9234c
11 changed files with 49 additions and 39 deletions

View File

@@ -52,7 +52,7 @@ test('New a page , then delete it in page, blockHub and option menu will not app
await waitForEditorLoad(page);
await clickNewPageButton(page);
const title = getBlockSuiteEditorTitle(page);
await title.type('test');
await title.pressSequentially('test');
await clickPageMoreActions(page);
await page.getByTestId('editor-option-menu-delete').click();
await page.getByTestId('confirm-delete-page').click();