Skip to content

Commit

Permalink
Tweaking
Browse files Browse the repository at this point in the history
Signed-off-by: Lukas Grossmann <[email protected]>
  • Loading branch information
Lukas Grossmann committed Nov 21, 2023
1 parent 53c351d commit 0db3184
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions test/ui/suite/createComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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); });

Expand Down Expand Up @@ -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() {
Expand Down

0 comments on commit 0db3184

Please sign in to comment.