From b59c4972b320f54106602e4313a49279b3fce4b1 Mon Sep 17 00:00:00 2001 From: Rory Doak Date: Fri, 24 Jan 2025 11:49:29 +0000 Subject: [PATCH] bump test timeouts --- .../src/@planx/components/List/Public/index.test.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/editor.planx.uk/src/@planx/components/List/Public/index.test.tsx b/editor.planx.uk/src/@planx/components/List/Public/index.test.tsx index 544e8f836d..3654bd87ef 100644 --- a/editor.planx.uk/src/@planx/components/List/Public/index.test.tsx +++ b/editor.planx.uk/src/@planx/components/List/Public/index.test.tsx @@ -251,7 +251,7 @@ describe("Building a list", () => { test( "Removing an item when all cards are inactive", - { timeout: 35_000 }, + { timeout: 45_000 }, async () => { // Setup three cards const { @@ -500,7 +500,7 @@ describe("Form validation and error handling", () => { * We are testing that the validation schemas are correctly "wired up" to out List component fields */ describe("existing validation schemas are correctly referenced", () => { - test("text fields", async () => { + test("text fields", { timeout: 10_000 }, async () => { const { user, getByRole, getByTestId } = setup( , ); @@ -622,7 +622,7 @@ describe("Form validation and error handling", () => { test( "an error displays if the minimum number of items is not met", - { timeout: 20_000 }, + { timeout: 25_000 }, async () => { const mockWithMinTwo = merge(cloneDeep(mockZooProps), { schema: { min: 2 },