Skip to content

Commit

Permalink
Remove console debug logs
Browse files Browse the repository at this point in the history
Signed-off-by: Rupal Mahajan <[email protected]>
  • Loading branch information
rupal-bq committed Mar 21, 2024
1 parent d6fa311 commit cfaa9bb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/download-helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@ const getUrl = async (url) => {
};

const basicAuthentication = async (page, overridePage, url, username, password, tenant, multitenancy) => {
console.log("blhaohborhobharobh")
await page.goto(url, { waitUntil: 'networkidle0' });
await new Promise(resolve => setTimeout(resolve, 10000));
await page.type('input[data-test-subj="user-name"]', username);
Expand All @@ -225,7 +224,6 @@ const basicAuthentication = async (page, overridePage, url, username, password,
}
}
catch (err) {
console.error(err)
spinner.fail('Invalid username or password');
exit(1);
}
Expand Down Expand Up @@ -324,7 +322,7 @@ const cognitoAuthentication = async (page, overridePage, url, username, password

if (multitenancy === true && tenantSelection !== null) {
// Check if tenant was selected successfully.
if ((await page.$('button[data-test-subj="confirm"]')) !== null) {
if ((await overridePage.$('button[data-test-subj="confirm"]')) !== null) {
spinner.fail('Invalid tenant');
exit(1);
}
Expand Down

0 comments on commit cfaa9bb

Please sign in to comment.