From 8d7aecd79b31c291faa63e843188b734705a8a44 Mon Sep 17 00:00:00 2001 From: Lukas Grossmann Date: Mon, 27 Nov 2023 11:02:52 +0100 Subject: [PATCH] Raising timeout Signed-off-by: Lukas Grossmann --- test/ui/suite/serverlessFunction.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/ui/suite/serverlessFunction.ts b/test/ui/suite/serverlessFunction.ts index cf3b502d9..cbe769ed7 100644 --- a/test/ui/suite/serverlessFunction.ts +++ b/test/ui/suite/serverlessFunction.ts @@ -51,7 +51,7 @@ export function testCreateServerlessFunction(path: string) { await serverlessFunctionView.clickCreateButton(); console.log('1') - await new Promise((res => {setTimeout(res, 5_500)})); + await new Promise((res => {setTimeout(res, 2_500)})); console.log('2') const refreshButton = await section.getAction('Refresh Serverless Function View'); @@ -60,6 +60,8 @@ export function testCreateServerlessFunction(path: string) { await refreshButton.click(); console.log('4') + await new Promise((res => {setTimeout(res, 2_500)})); + expect(await section.findItem(functionName)).to.be.not.undefined; console.log('5') });