Skip to content

Commit

Permalink
Raising timeout
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 27, 2023
1 parent d4a0bfa commit 8d7aecd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/ui/suite/serverlessFunction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand All @@ -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')
});
Expand Down

0 comments on commit 8d7aecd

Please sign in to comment.