test: skip cloud sync

This commit is contained in:
JimmFly
2023-01-11 18:26:58 +08:00
parent 66a208ebaf
commit 5749b5f711
2 changed files with 9 additions and 6 deletions
+8 -5
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 (
.getByTestId('editor-header-items') page
.getByRole('button') .getByTestId('editor-header-items')
.nth(2) .getByRole('button')
.click(); //FIXME: temporary change due to cloud sync icon being hidden
.nth(0)
.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);