From 0af99a3a96691625acf1f7db2652164c8c3a12e9 Mon Sep 17 00:00:00 2001 From: Ryan Ly Date: Sat, 21 Sep 2024 12:36:18 -0700 Subject: [PATCH] Extend timeout for generating tutorial dataset --- tests/e2e/puppeteer.ts | 2 +- tests/e2e/tutorial.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/e2e/puppeteer.ts b/tests/e2e/puppeteer.ts index 1da3b4658..2548b49e3 100644 --- a/tests/e2e/puppeteer.ts +++ b/tests/e2e/puppeteer.ts @@ -34,7 +34,7 @@ type BrowserTestOutput = { } const beforeStartTimeout = 2 * 60 * 1000 // Wait 2 minutes for Electron to open -const protocolTimeout = 10 * 60 * 1000 // Creating the test dataset can take up to 10 minutes (mostly for Windows) +const protocolTimeout = 15 * 60 * 1000 // Creating the test dataset can take up to 15 minutes (mostly for Windows) export const connect = () => { diff --git a/tests/e2e/tutorial.test.ts b/tests/e2e/tutorial.test.ts index 105de1262..ad39197d9 100644 --- a/tests/e2e/tutorial.test.ts +++ b/tests/e2e/tutorial.test.ts @@ -38,7 +38,7 @@ describe('E2E Test', () => { // Wait up to 10 minutes for dataset generation // Both the test timeout and the protocolTimeout on puppeteer.connect() must be set to 10 min - datasetTestFunction('Create tutorial dataset', { timeout: 10 * 60 * 1000 }, async () => { + datasetTestFunction('Create tutorial dataset', { timeout: 15 * 60 * 1000 }, async () => { await evaluate(async () => {