I am trying to run a testcafe script through Jenkins on a Mac. I followed the steps from https://devexpress.github.io/testcafe/documentation/guides/continuous-integration/jenkins.html.
Shell command used: node_modules/.bin/testcafe chrome tests/**/* -r xunit:res.xml
Error Log:
+ node_modules/.bin/testcafe chrome 'tests/**/*' -r xunit:res.xml
/var/folders/xc/tb86yjr146zfbtqkxr2t95q00000gn/T/jenkins8135172756505498279.sh: line 2: node_modules/.bin/testcafe: No such file or directory
Build step 'Execute shell' marked build as failure
Recording test results
ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?
Finished: FAILURE
I also have a Testcafe installation locally (outside Jenkins) in this Mac. Could that be a problem?
Aucun commentaire:
Enregistrer un commentaire