mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
feat: refator header (#3685)
Co-authored-by: JimmFly <yangjinfei001@gmail.com> Co-authored-by: Alex Yang <himself65@outlook.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user