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.

test(memory): increase timeout for memory test to 150 seconds chore: remove unused Page import from util.ts

白熱4a4b6f0f91f6
diff --git a/e2e/memory/memory.spec.ts b/e2e/memory/memory.spec.ts
index 4d2c969248..58af0d4f48 100644
--- a/e2e/memory/memory.spec.ts
+++ b/e2e/memory/memory.spec.ts
@@ -118,7 +118,7 @@ async function takeHeapSnapshot(client: CDPSession, filename: string) {
// const isLocal = !process.env.CI;
test('memory', async ({ page }) => {
- test.setTimeout(60_000);
+ test.setTimeout(150_000);
const client = await page.context().newCDPSession(page);
let errored = false;
diff --git a/e2e/memory/util.ts b/e2e/memory/util.ts
index 5413be287e..8bb6829a5d 100644
--- a/e2e/memory/util.ts
+++ b/e2e/memory/util.ts
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-import type { CDPSession, Page } from '@playwright/test';
+import type { CDPSession } from '@playwright/test';
interface IMetrics {
JSHeapUsedSize: number;