Open Lalem001 opened 6 years ago
Tried with:
customLaunchers: {
ChromeHeadless_WithoutCrashing: {
base: 'ChromeHeadless',
chromeDataDir: path.resolve(__dirname, '.chrome-karma')
}
}
To replicate point 3) with an empty dir, still crashing for me :/ any workaround?
FWIW I had this issue using a Chrome binary provided by the puppeteer
package, but after upgrading to the latest version it's gone completely, so it might not be directly related to karma-chrome-launcher
after all.
Expected behaviour
Chromium should run forever, until karma exits.
Actual behaviour
Chromium is crashing approximately 30 seconds after starting.
Chromium crash log shown in Karma's log:
Environment Details
karma --version
): 3.0.0karma.config.js
file8.12.0
6.4.1
1.9.0
594312
Steps to reproduce the behaviour
$(npm bin)/karma start
--user-data-dir
either removed or pointing to an empty directory. No crash, tests pass fine.