test: skip cloud sync

This commit is contained in:
JimmFly committed 2023-01-11 18:03:29 +08:00
1 parent fe189e383b
commit 3357c3d43b
2 files changed
+7 -4

No files matched your search

+6 -3
View File
@@ -5,9 +5,12 @@ export async function newPage(page: Page) {
} }
export async function clickPageMoreActions(page: Page) { export async function clickPageMoreActions(page: Page) {
return page return (
page
.getByTestId('editor-header-items') .getByTestId('editor-header-items')
.getByRole('button') .getByRole('button')
.nth(2) //FIXME: temporary change due to cloud sync icon being hidden
.click(); .nth(1)
.click()
);
} }
+1 -1
View File
@@ -15,7 +15,7 @@ test.describe('Login Flow', () => {
.click(); .click();
}); });
test('Open login modal by click cloud-unsync-icon', async ({ page }) => { test.skip('Open login modal by click cloud-unsync-icon', async ({ page }) => {
await page.getByTestId('cloud-unsync-icon').click(); await page.getByTestId('cloud-unsync-icon').click();
await page.waitForTimeout(800); await page.waitForTimeout(800);