From d70e4125bec4c7b53e514e977484dfca9595175c Mon Sep 17 00:00:00 2001 From: acouch Date: Tue, 23 Jul 2024 15:18:50 -0400 Subject: [PATCH] Increase timeout for playrwight --- frontend/src/services/search/searchfetcher/APISearchFetcher.ts | 2 +- frontend/tests/playwright.config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/services/search/searchfetcher/APISearchFetcher.ts b/frontend/src/services/search/searchfetcher/APISearchFetcher.ts index 2999086929..6887ee57d8 100644 --- a/frontend/src/services/search/searchfetcher/APISearchFetcher.ts +++ b/frontend/src/services/search/searchfetcher/APISearchFetcher.ts @@ -18,7 +18,7 @@ export class APISearchFetcher extends SearchFetcher { ): Promise { try { // Keep commented in case we need to simulate a delay to test loaders - await new Promise((resolve) => setTimeout(resolve, 13250)); + // await new Promise((resolve) => setTimeout(resolve, 13250)); const response: SearchAPIResponse = await this.searchApi.searchOpportunities(searchInputs); diff --git a/frontend/tests/playwright.config.ts b/frontend/tests/playwright.config.ts index 37a0f238cb..d0af5dd9ec 100644 --- a/frontend/tests/playwright.config.ts +++ b/frontend/tests/playwright.config.ts @@ -10,7 +10,7 @@ import { defineConfig, devices } from "@playwright/test"; * See https://playwright.dev/docs/test-configuration. */ export default defineConfig({ - timeout: 20000, + timeout: 50000, testDir: "./e2e", /* Run tests in files in parallel */ fullyParallel: true,