April 26, 2020
ISSUE:
We detected that the Chromium Renderer process just crashed. This is the equivalent to seeing the 'sad face' when Chrome dies. This can happen for a number of different reasons:
You wrote an endless loop and you must fix your own code
There is a memory leak in Cypress (unlikely but possible)
You are running Docker (there is an easy fix for this: see link below)
You are running lots of tests on a memory intense application
You are running in a memory starved VM environment
There are problems with your GPU / GPU drivers
There are browser bugs in Chromium
해결 방법
module.exports = on => {
// eslint-disable-next-line @typescript-eslint/explicit-function-return-type
on('file:preprocessor', cypressTypeScriptPreprocessor);
//Docker crashing issue when renderer process eats up too much memory
on('before:browser:launch', (browser = {}, args) => {
if (browser.name === 'chrome') {
args.push('--disable-dev-shm-usage');
}
return args
});
};
test:pc:
image: cypress/base:13.6.0
GITLAB-RUNNER
참고자료
참고자료: