whenever I am trying to run cypress tests I am getting this error. I have cloned spectrum repo and this is my first time I am trying to run cypress tests
Asked
Active
Viewed 1,324 times
1
-
How does the test look like? – Jonathan Jun 12 '18 at 18:50
1 Answers
0
The test appears to have timed out after waiting for a full minute. Try checking the response for error, along with the lines of
cy.exec('npm run build').then((result) => {
console.log("code---->", result.code);
console.log("stdout---->", result.stdout);
console.log("error---->", result.stderr);
})
Replace 'npm run build' with your code.
Also, what exactly are you trying to do there, in the before block?