codeceptjs / codeceptjs/CodeceptJS

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

Đang mở
#2,353 5 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
4.2k
Fork
757
Merge trung bình
2 ngày 9 giờ
Pull request đã merge (30 ngày)
16

Mô tả

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

```

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.