Jenkins runs in Linux vm without GUI testcafe@1.9.4 testcafe-reporter-xunit@2.1.0 chromium@3.0.2 node -v v14.2.0
Execute Shell: npm install chromium npm install firefox
npm install testcafe testcafe-reporter-xunit
node_modules/.bin/testcafe "firefox:node_modules/firefox:headless" tests/smokeTest.js -r xunit:res.xml
node_modules/.bin/testcafe "chromium:node_modules/chromium/lib/chromium/chrome-linux/chrome --headless --no-sandbox" tests/smokeTest.js -r xunit:res.xml
Jenkins Job: ERROR Unable to establish one or more of the specified browser connections. This can be caused by network issues or remote device failure.
Type "testcafe -h" for help. Build step 'Execute shell' marked build as failure Recording test results Finished: FAILURE
Aucun commentaire:
Enregistrer un commentaire