From 0db31841c7ad0dfd08d82648f8694c6ce2a7fe3e Mon Sep 17 00:00:00 2001 From: Lukas Grossmann Date: Tue, 21 Nov 2023 16:00:46 +0100 Subject: [PATCH] Tweaking Signed-off-by: Lukas Grossmann --- test/ui/suite/createComponent.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/test/ui/suite/createComponent.ts b/test/ui/suite/createComponent.ts index 9c27bd9ac..caf04b62c 100644 --- a/test/ui/suite/createComponent.ts +++ b/test/ui/suite/createComponent.ts @@ -51,13 +51,12 @@ export function testCreateComponent(path: string) { await gitPage.initializeEditor(); await gitPage.insertGitLink('https://github.com/odo-devfiles/nodejs-ex'); await gitPage.clickNextButton(); - await new Promise((res) => { setTimeout(res, 2_500)}); + await new Promise((res) => { setTimeout(res, 1_500)}); await gitPage.clickContinueButton(); await createComponent(createCompView) componentName = 'node-js-runtime'; - await new Promise((res) => { setTimeout(res, 2_500)}); expect(await section.findItem(componentName)).to.be.not.undefined; dlt = false @@ -83,7 +82,7 @@ export function testCreateComponent(path: string) { await input.confirm(); await localCodeBasePage.clickNextButton(); - await new Promise((res) => { setTimeout(res, 3_000); }); + await new Promise((res) => { setTimeout(res, 500); }); await localCodeBasePage.clickCreateComponent(); await new Promise((res) => { setTimeout(res, 6_000); }); @@ -153,7 +152,7 @@ export function testCreateComponent(path: string) { await section.expand(); const refresh = await section.getAction('Refresh Components View'); await refresh.click(); - await new Promise((res => {setTimeout(res, 5_000)})); + await new Promise((res => {setTimeout(res, 3_000)})); } async function clickCreateComponent() {