Skip to content

Commit

Permalink
reset validateNightwatchInspectorCriteria
Browse files Browse the repository at this point in the history
  • Loading branch information
harshit-bs committed Apr 12, 2023
1 parent 855041c commit 71a4cf3
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions lib/testsuite/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,15 +143,11 @@ class TestSuite {
}

validateNightwatchInspectorCriteria() {
if (this.argv.debug && this.client.api.isChrome()) {
if (Concurrency.isMasterProcess()) {
return true;
} else {
Logger.log(`\n ${Logger.colors.cyan('Nightwatch Inspector')} is not supported in parallel mode`);
}
}

return false;
return (
this.argv.debug &&
Concurrency.isMasterProcess() &&
this.client.api.isChrome()
);
}

async initClient({initialize = true} = {}) {
Expand Down

0 comments on commit 71a4cf3

Please sign in to comment.