Arquisoft / viade_es1c

Viade es1c
1 stars 4 forks source link

Execution test cucumber #102

Open Raquel-Santos-Fdez opened 4 years ago

Raquel-Santos-Fdez commented 4 years ago

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. image

UO263544 commented 4 years ago

Links to pages that may help with the problem:

UO265308 commented 4 years ago

We've added the cucumber test to Travis. Apparently, the same error happens. error

NourdineSatour commented 4 years ago

Added line "services: xvfb" in .travis.yml

And this is the error now. image

Raquel-Santos-Fdez commented 4 years ago

Executing the line "npm install puppeteer@2.0.0" the error changes to the one shown below. image

UO265308 commented 4 years ago

@HugoLebredo proposed two new possibilities. We've tried them, but it still doesn't work:

  1. We've followed the steps mentioned in this issue: https://github.com/arquisoft/viade_en2b/issues/195

  2. We've added the following code to jest-puppeteer.config.js:

    launch:{
                Headless:false,
                Devtootls:true
    }
pglez82 commented 4 years ago

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.