Skip to content

Commit

Permalink
init wdio custom commands if agent is not updated
Browse files Browse the repository at this point in the history
  • Loading branch information
avistramer committed Jul 13, 2021
1 parent d651089 commit e57027f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,9 @@ const registerWdioCommands = function() {
}
}

if (!isLocal && process.env.WDIO_INIT_TESTABLEUTILS !== 'true')
registerWdioCommands();

const testSteps = new TestSteps();

module.exports.isLocal = isLocal;
Expand Down

0 comments on commit e57027f

Please sign in to comment.