codeceptjs / codeceptjs/CodeceptJS

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

Offen
#2,353 5 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
4.2k
Forks
757
Ø Merge
2 T. 9 Std.
Gemergte PRs (30 T.)
16

Beschreibung

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'
};

```

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.