Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

test: skip cloud sync

JimmFly3357c3d43b1d
diff --git a/tests/libs/page-logic.ts b/tests/libs/page-logic.ts
index 09385a4cb0..4ee958d7e7 100644
--- a/tests/libs/page-logic.ts
+++ b/tests/libs/page-logic.ts
@@ -5,9 +5,12 @@ export async function newPage(page: Page) {
}
export async function clickPageMoreActions(page: Page) {
- return page
- .getByTestId('editor-header-items')
- .getByRole('button')
- .nth(2)
- .click();
+ return (
+ page
+ .getByTestId('editor-header-items')
+ .getByRole('button')
+ //FIXME: temporary change due to cloud sync icon being hidden
+ .nth(1)
+ .click()
+ );
}
diff --git a/tests/login.spec.ts b/tests/login.spec.ts
index ed7185259f..f5feb9d9c5 100644
--- a/tests/login.spec.ts
+++ b/tests/login.spec.ts
@@ -15,7 +15,7 @@ test.describe('Login Flow', () => {
.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.waitForTimeout(800);