Open Raquel-Santos-Fdez opened 4 years ago
Links to pages that may help with the problem:
We've added the cucumber test to Travis. Apparently, the same error happens.
Added line "services: xvfb" in .travis.yml
And this is the error now.
Executing the line "npm install puppeteer@2.0.0" the error changes to the one shown below.
@HugoLebredo proposed two new possibilities. We've tried them, but it still doesn't work:
We've followed the steps mentioned in this issue: https://github.com/arquisoft/viade_en2b/issues/195
We've added the following code to jest-puppeteer.config.js:
launch:{
Headless:false,
Devtootls:true
}
Si los tests os fallan en travis la opción headless:false no os vale para nada ya que en travis no se puede levantar un chromium con interfaz gráfica. Lo de headless:true era para un grupo que tenía problemas para depurar sus tests en local.
Voy a intentar ver que le pasa. Si encuentro algo os digo.
Only in my case, in the execution of the cucumber tests appears the error bellow. We are in process of fixing it so that this tests work in every computer. Several web pages were visited looking for information about the error in the internet but none of the solution worked jet.