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
fix(core): falky ai save as block test (#11878)
yoyoyohamapi19c06a282162
diff --git a/tests/affine-cloud-copilot/e2e/utils/editor-utils.ts b/tests/affine-cloud-copilot/e2e/utils/editor-utils.tsindex 87807adacb..a8dde1dc32 100644--- a/tests/affine-cloud-copilot/e2e/utils/editor-utils.ts+++ b/tests/affine-cloud-copilot/e2e/utils/editor-utils.ts@@ -53,6 +53,20 @@ export class EditorUtils {await page.getByTestId('switch-edgeless-mode-button').click();editor.waitForElementState('hidden');await page.waitForSelector('edgeless-editor');+ try {+ const edgelessNotificationClose = page.getByTestId(+ 'notification-close-button'+ );+ await edgelessNotificationClose.waitFor({+ state: 'visible',+ timeout: 2000,+ });+ await edgelessNotificationClose.click();+ // Focus to the edgeless editor+ await page.mouse.click(400, 400);+ } catch {+ // do nothing if the notification close button is not found+ }}public static async switchToPageMode(page: Page) {