From e28bcb8804aa06045ea2a5a9282fc3c5fd42bf69 Mon Sep 17 00:00:00 2001 From: matttdawson <89495499+matttdawson@users.noreply.github.com> Date: Wed, 22 May 2024 13:12:46 +1200 Subject: [PATCH] FIX: Use getQuick for the regexp test otherwise it could timeout erroneously FIX: Use getQuick for the regexp test otherwise it could timeout erroneously --- src/utils/testUtil.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/testUtil.ts b/src/utils/testUtil.ts index dd12690c..7899cd7c 100644 --- a/src/utils/testUtil.ts +++ b/src/utils/testUtil.ts @@ -133,7 +133,7 @@ export const findCellContains = async ( return await waitFor( async () => { const row = await findRow(rowId, within); - return await findQuick({ tagName: `[col-id='${colId}']`, text }, row); + return getQuick({ tagName: `[col-id='${colId}']`, text }, row); }, { timeout: 10000 }, );