Skip to content

Commit

Permalink
Increase performing log to notice
Browse files Browse the repository at this point in the history
  • Loading branch information
LewisW committed Jun 22, 2023
1 parent d54b7c1 commit e13d71c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SDK.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ export class SDK {
async performActions(actions: any[]): Promise<any[]> {
const previousActions = [];
for (const action of actions) {
this.logger.info("Performing action", {action: action});
this.logger.notice("Performing action", {action: action});
const elements = await this.browser.findByXpath(action['xpath']);

if (elements.length === 0) {
Expand Down Expand Up @@ -254,7 +254,7 @@ export class SDK {
}

async performAssertion(assertion: any): Promise<boolean> {
this.logger.info("Performing assertion", {assertion: assertion['assertion']});
this.logger.notice("Performing assertion", {assertion: assertion['assertion']});

return await this.browser.evaluateScript('window.carbonate_reset_assertion_result(); ' + assertion['assertion'] + '; window.carbonate_assertion_result;');
}
Expand Down

0 comments on commit e13d71c

Please sign in to comment.