mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-06 08:50:50 +08:00
test: skip cloud sync
This commit is contained in:
@@ -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
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user