test: improve e2e test of export html

This commit is contained in:
tzhangchi
2023-01-02 01:17:28 +08:00
committed by Chi Zhang
parent ca5bde9730
commit 5cd8b38bdd

View File

@@ -5,7 +5,7 @@ loadPage();
test.describe('Local first export page', () => { test.describe('Local first export page', () => {
test('New a page ,then open it and export html', async ({ page }) => { test('New a page ,then open it and export html', async ({ page }) => {
await page.getByText('New Page').click(); await newPage(page);
await page.getByPlaceholder('Title').click(); await page.getByPlaceholder('Title').click();
await page await page
.getByPlaceholder('Title') .getByPlaceholder('Title')