"Nightwatch client is not yet available" at build time during unit testing - Nightwatch migration to v2 #3799
Unanswered
bpenwell-amazon
asked this question in
Help Needed
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
I'm going through the nightwatch v2 migration for my acceptance testing packages. I'm going from
v1.4.3
tov2.6.21
. I'm also removingnightwatch-api
, as I was told that it's deprecated and integrated in the new nightwatch v2 version.This is the step that is failing:
"test": "ts-mocha --recursive --file test/globalHooks.js",
This is the backtrace that is happening during the unit test section:
References searched:
What kind of unit test setup needs to happen for this functionality to work? Does anybody have any references on how to resolve this issue? The nightwatch v2 migration guide is super vague and doesn't provide good details on how to upgrade: https://nightwatchjs.org/guide/migrating-to-nightwatch/from-nightwatch-v1.html
Beta Was this translation helpful? Give feedback.
All reactions