Open TharaCJ opened 5 years ago
I am working on setting up automation test for an application using nightwatch. When i run the tests, getEl function call fails at - /node_modules/testarmada-nightwatch-extra/lib/base-command.js in the below line of pass function -
this.client.assertion(true, pactual, pexpected, _util2.default.format(message, this.time.totalTime), true);
and the error is **TypeError: this.client.assertion is not a function. Wondering whether i missed anything in the config. Appreciate any help.
@tharacj make sure that you are locked to nightwatch version 0.9.21 in your package.json. NW Extra isn't compatible with Nightwatch 1.0+ yet.
Is there any alternative present to use in 1.0+ ?
I am working on setting up automation test for an application using nightwatch. When i run the tests, getEl function call fails at - /node_modules/testarmada-nightwatch-extra/lib/base-command.js in the below line of pass function -
this.client.assertion(true, pactual, pexpected, _util2.default.format(message, this.time.totalTime), true);
and the error is **TypeError: this.client.assertion is not a function. Wondering whether i missed anything in the config. Appreciate any help.