Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions cypress.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,14 @@ try {
*/
async function setupAfterSpecChaining(on, config) {
if (config.env.itemsFilePath) {
on('before:browser:launch', (browser, launchOptions) => {
if (browser.family === 'chromium') {
launchOptions.args.push('--no-sandbox');
launchOptions.args.push('--disable-gpu');
}
return launchOptions;
});

let testRailAfterSpecHandler;

// Intercept after:spec registration from TestRail plugin
Expand Down
Loading