codeceptjs / codeceptjs/CodeceptJS

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

未关闭
#2,353 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
4.2k
派生
757
平均合并
2 天 9 小时
30 天内合并 PR
16

描述

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

```

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。