Fixes: https://tracker.ceph.com/issues/46624
Signed-off-by: Tiago Melo <tmelo@suse.com>
"defaultCommandTimeout": 20000,
"viewportHeight": 1080,
"viewportWidth": 1920,
- "pluginsFile": false,
"projectId": "k7ab29"
}
--- /dev/null
+module.exports = (on, _config) => {
+ on('before:browser:launch', (browser, launchOptions) => {
+ if (browser.name === 'chrome' && browser.isHeadless) {
+ launchOptions.args.push('--disable-gpu');
+ return launchOptions;
+ }
+ });
+};
"extends": "../tsconfig.json",
"exclude": [],
"include": [
- "**/*.ts"
+ "**/*.ts",
+ "plugins/index.js"
],
"compilerOptions": {
"types": [