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.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
test: fix flaky in `theme.spec.ts` (#1708)
Himself65316223b78470
diff --git a/tests/parallels/theme.spec.ts b/tests/parallels/theme.spec.tsindex d8ad74b88c..6f218ac07c 100644--- a/tests/parallels/theme.spec.ts+++ b/tests/parallels/theme.spec.ts@@ -19,6 +19,8 @@ test.describe('Change Theme', () => {expect(themeMode).toBe('light');const lightButton = page.locator('[data-testid=change-theme-dark]');+ await page.mouse.move(0, 0);+ await page.waitForTimeout(50);expect(await lightButton.isVisible()).toBe(false);});