feat: refator header (#3685)

Co-authored-by: JimmFly <yangjinfei001@gmail.com>
Co-authored-by: Alex Yang <himself65@outlook.com>
This commit is contained in:
Qi
2023-08-12 04:27:24 +08:00
committed by GitHub
parent 91619b87db
commit 401fb48b86
35 changed files with 772 additions and 1386 deletions

View File

@@ -20,7 +20,7 @@ const monthNames = [
export const createFirstFilter = async (page: Page, name: string) => {
await page
.locator('[data-testid="editor-header-items"]')
.locator('[data-testid="header"]')
.locator('button', { hasText: 'Filter' })
.click();
await page

View File

@@ -52,7 +52,7 @@ export const createLinkedPage = async (page: Page, pageName?: string) => {
export async function clickPageMoreActions(page: Page) {
return page
.getByTestId('editor-header-items')
.getByTestId('header')
.getByTestId('header-dropDownButton')
.click();
}