test: remove deprecated api usage (#4577)
This commit is contained in:
1 parent
1f6a105e5c
commit
8f5ee9234c
11 files changed
+49
-39
No files matched your search
@@ -219,7 +219,7 @@ test('assert the recent browse pages are on the recent list', async ({
|
||||
await clickNewPageButton(page);
|
||||
{
|
||||
const title = getBlockSuiteEditorTitle(page);
|
||||
await title.type('sgtokidoki', {
|
||||
await title.pressSequentially('sgtokidoki', {
|
||||
delay: 50,
|
||||
});
|
||||
}
|
||||
@@ -231,7 +231,7 @@ test('assert the recent browse pages are on the recent list', async ({
|
||||
await addNewPage.click();
|
||||
{
|
||||
const title = getBlockSuiteEditorTitle(page);
|
||||
await title.type('theliquidhorse', {
|
||||
await title.pressSequentially('theliquidhorse', {
|
||||
delay: 50,
|
||||
});
|
||||
}
|
||||
@@ -242,7 +242,7 @@ test('assert the recent browse pages are on the recent list', async ({
|
||||
await addNewPage.click();
|
||||
{
|
||||
const title = getBlockSuiteEditorTitle(page);
|
||||
await title.type('battlekot', {
|
||||
await title.pressSequentially('battlekot', {
|
||||
delay: 50,
|
||||
});
|
||||
}
|
||||
@@ -271,7 +271,7 @@ test('assert the recent browse pages are on the recent list', async ({
|
||||
await page.waitForTimeout(200);
|
||||
{
|
||||
const title = getBlockSuiteEditorTitle(page);
|
||||
await title.type('affine is the best', {
|
||||
await title.pressSequentially('affine is the best', {
|
||||
delay: 50,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user