codeceptjs / codeceptjs/CodeceptJS

all tests fail before they even start "before each hook" failure

Abierto
#2,353 5 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
4.2k
Forks
757
Merge medio
2 d 9 h
PR fusionados (30 d)
16

Descripción

last night all my tests were running fine. now all tests on all apps are failing. I get this error

`example --
user inserts text and html macro
:heavy_multiplication_x: "before each" hook: codeceptjs.before for "user inserts text and html macro" in 13ms
Error: Failed to launch the browser process!`

I have no idea what is causing this. I did some googling and all previous issues say that adding ` "args": ["--no-sandbox", "--disable-setuid-sandbox"]` to the config will solve this problem but I already had that in my config file. it's been in my config file for months now. not sure what changed between last night and tonight.
### Details

* CodeceptJS version: 1.3
* NodeJS Version: 14.0
* Operating System: Mac 10.15.4
* puppeteer - 1.20.0
* Configuration file:

```js
exports.config = {
tests: './tests/test_test.js',
output: './output/',
helpers: {
Puppeteer: {
url: 'http://localhost',
show: false,
chrome: {
"args": ["--no-sandbox", "--disable-setuid-sandbox"]
}
}
},
include: {
I: './steps_file.js',
login: './pages/login.js',
confluence: './pages/confluence.js',
editor: './pages/editor.js',
},
bootstrap: null,
mocha: {},
name: 'hmtl macro user tests'
};

```

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.