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
ci: run some optimize on CI e2e (#11330)
Brooooooklynd31e0c0e7175
diff --git a/tests/kit/src/utils/page-logic.ts b/tests/kit/src/utils/page-logic.tsindex bc5c88c349..b4cb999d0e 100644--- a/tests/kit/src/utils/page-logic.ts+++ b/tests/kit/src/utils/page-logic.ts@@ -37,9 +37,9 @@ export async function waitForAllPagesLoad(page: Page) {}export async function clickNewPageButton(page: Page, title?: string) {- // fixme(himself65): if too fast, the page will crashawait page.getByTestId('sidebar-new-page-button').click({- delay: 100,+ // default timeout is 5000ms, but it's not enough for the CI first page load+ timeout: 8000,});await waitForEmptyEditor(page);if (title) {diff --git a/tools/cli/src/webpack/index.ts b/tools/cli/src/webpack/index.tsindex 1da245034e..172ebca570 100644--- a/tools/cli/src/webpack/index.ts+++ b/tools/cli/src/webpack/index.ts@@ -396,7 +396,7 @@ export function createWebpackConfig();}- if (flags.mode === 'development') {+ if (flags.mode === 'development' && !IN_CI) {config.optimization = {...config.optimization,minimize: false,