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:
Chi Zhang authored and GitHub committed 2022-12-31 02:32:59 +08:00
1 parent 582aed8744
commit b309e2670d
11 files changed
+42 -61

No files matched your search

+11
View File
@@ -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();
}