mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-22 20:46:38 +08:00
feat: cloud sync tests (#643)
* fix: fix new page login in e2e test * test: add page-logic to simpliy new-page * test: sync clickPageMoreActions
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
export async function newPage(page) {
|
||||
return page.getByTestId('sliderBar').getByText('New Page').click();
|
||||
}
|
||||
|
||||
export async function clickPageMoreActions(page) {
|
||||
return page
|
||||
.getByTestId('editor-header-items')
|
||||
.getByRole('button')
|
||||
.nth(2)
|
||||
.click();
|
||||
}
|
||||
Reference in New Issue
Block a user