Skip to content

Commit

Permalink
Adding logs
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 4c97e95 commit 6c36c60
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"max-classes-per-file": [0],
"no-alert": 2,
"no-caller": 2,
"no-console": 2,
//"no-console": 2,
"no-constant-condition": 2,
"no-debugger": 2,
"no-else-return": ["error"],
Expand Down
5 changes: 5 additions & 0 deletions test/ui/suite/serverlessFunction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,17 @@ export function testCreateServerlessFunction(path: string) {
await serverlessFunctionView.selectFolder(pth.join(path, 'function'));
await serverlessFunctionView.clickCreateButton();

console.log('1')
await new Promise((res => {setTimeout(res, 3_500)}));

console.log('2')
const refreshButton = await section.getAction('Refresh Serverless Function View');
console.log('3')
await refreshButton.click();
console.log('4')

expect(await section.findItem(functionName)).to.be.not.undefined;
console.log('5')
});
});
}

0 comments on commit 6c36c60

Please sign in to comment.