gruntjs / grunt-contrib-jasmine

Run jasmine specs headlessly through Headless Chrome
http://gruntjs.com/
MIT License
355 stars 197 forks source link

Puppeteer installed with grunt-contrib-jasmine timing out when running jasmine tests #349

Closed Kman316 closed 1 year ago

Kman316 commented 1 year ago

Using grunt-contrib-jasmine: '=3.0.0', I am getting the following puppeteer error running jasmine tests. Does anyone know if I can do anything?

Testing specs with Jasmine/2.8.0 via HeadlessChrome/90.0.4427.0
>> Error caught from Puppeteer
Warning: TimeoutError: Navigation timeout of 600000 ms exceeded at 
/my-project/node_modules/grunt-contrib-jasmine/node_modules/puppeteer/lib/cjs/puppeteer/common/LifecycleWatcher.js:106:111
 Use --force to continue.

I have recently upgraded to webpack v5 and since then I am seeing this issue, I was not seeing this with webpack v4. I see that the version of Puppeteer installed with grunt-contrib-jasmine is v8.0.0, could this be bumped? Puppeteer v8, v9, v10 and v11 are no longer being supported.

Kman316 commented 1 year ago

@vladikoff

vladikoff commented 1 year ago

Fixed in version 4.0.0 of this plugin