Closed LukasGaebler closed 4 years ago
Update: I added the browser property to the before function:
before: (browser, done) => {
console.log("Tests have started");
done();
}
Now I get the error, that cb is not a function. It seems, that I forgot a callback or something like that.... but I can't find the place where it should be
Update: I found the solution in this (https://github.com/nightwatchjs/nightwatch/issues/1629) issue. I had the wrong directory structure.
Describe the bug
Im trying to run nightwatch tests in a vue application. When calling done() in the globals.js file I'm getting an arror which says "TypeError: done is not a function.
This is my configuration:
and I'm calling the tests with this command:
Sample test
This is the test I'm trying to run