Skip to content

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

chore: fix playwright tests (#3768)

Wenzhao Hu758de3789907
diff --git a/e2e/visual-comparison/sheets/sheets-visual-comparison.spec.ts-snapshots/default-sheet-fullpage-chromium-linux.png b/e2e/visual-comparison/sheets/sheets-visual-comparison.spec.ts-snapshots/default-sheet-fullpage-chromium-linux.png
new file mode 100644
index 0000000000..224c1642a5
Binary files /dev/null and b/e2e/visual-comparison/sheets/sheets-visual-comparison.spec.ts-snapshots/default-sheet-fullpage-chromium-linux.png differ
diff --git a/e2e/visual-comparison/sheets/sheets-visual-comparison.spec.ts-snapshots/mergedCellsRendering-chromium-linux.png b/e2e/visual-comparison/sheets/sheets-visual-comparison.spec.ts-snapshots/mergedCellsRendering-chromium-linux.png
new file mode 100644
index 0000000000..d30fd5fee1
Binary files /dev/null and b/e2e/visual-comparison/sheets/sheets-visual-comparison.spec.ts-snapshots/mergedCellsRendering-chromium-linux.png differ
diff --git a/e2e/visual-comparison/sheets/sheets-visual-comparison.spec.ts-snapshots/mergedCellsRenderingScrolling-chromium-linux.png b/e2e/visual-comparison/sheets/sheets-visual-comparison.spec.ts-snapshots/mergedCellsRenderingScrolling-chromium-linux.png
new file mode 100644
index 0000000000..510ba1b6af
Binary files /dev/null and b/e2e/visual-comparison/sheets/sheets-visual-comparison.spec.ts-snapshots/mergedCellsRenderingScrolling-chromium-linux.png differ
diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts
index 34bf4d2b7f..0dc492e737 100644
--- a/packages/core/src/index.ts
+++ b/packages/core/src/index.ts
@@ -186,4 +186,4 @@ export type { ICellCustomRender, ICellRenderContext } from './types/interfaces/i
export type { IDataValidationRule, IDataValidationRuleBase, IDataValidationRuleInfo, IDataValidationRuleOptions, ISheetDataValidationRule } from './types/interfaces/i-data-validation';
export { type IRTreeItem, RTree } from './shared/r-tree';
-export { Univer } from './univer';
+export { type IUniverConfig, Univer } from './univer';
diff --git a/playwright.config.ts b/playwright.config.ts
index 6986c189c6..3f2125e435 100644
--- a/playwright.config.ts
+++ b/playwright.config.ts
@@ -31,7 +31,7 @@ export default defineConfig({
['json', { outputFile: 'playwright-report.json' }],
['html', { attachments: true }],
],
- outputDir: './playwright-report',
+ // outputDir: './playwright-report',
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
use: {
/* Base URL to use in actions like `await page.goto('/')`. */