fix: title behavior on BlockSuite editor (#1264)
This commit is contained in:
@@ -1,14 +1,18 @@
|
||||
import { expect } from '@playwright/test';
|
||||
|
||||
import { loadPage } from './libs/load-page';
|
||||
import { clickPageMoreActions, newPage } from './libs/page-logic';
|
||||
import {
|
||||
clickPageMoreActions,
|
||||
getBlockSuiteEditorTitle,
|
||||
newPage,
|
||||
} from './libs/page-logic';
|
||||
import { test } from './libs/playwright';
|
||||
loadPage();
|
||||
|
||||
test.describe('Local first export page', () => {
|
||||
test.skip('New a page ,then open it and export html', async ({ page }) => {
|
||||
await newPage(page);
|
||||
await page.getByPlaceholder('Title').click();
|
||||
await getBlockSuiteEditorTitle(page).click();
|
||||
await page
|
||||
.getByPlaceholder('Title')
|
||||
.fill('this is a new page to export html content');
|
||||
@@ -38,7 +42,7 @@ test.describe('Local first export page', () => {
|
||||
page,
|
||||
}) => {
|
||||
await newPage(page);
|
||||
await page.getByPlaceholder('Title').click();
|
||||
await getBlockSuiteEditorTitle(page).click();
|
||||
await page
|
||||
.getByPlaceholder('Title')
|
||||
.fill('this is a new page to export markdown content');
|
||||
|
||||
Reference in New Issue
Block a user