Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
b6d6e761eThis file is pinned to the selected release. Download the original to open it in your design tool.
// This example support/e2e.js is processed and
// loaded automatically before your test files.
//
// This is a great place to put global configuration and
// behavior that modifies Cypress.
//
//
// Import commands.js using ES2015 syntax:
import './commands';
import 'cypress-real-events/support';
import 'cypress-mochawesome-reporter/register';
import 'cypress-grep';
// cypress/support/e2e.js
Cypress.on('uncaught:exception', (err) => {
if (err.message.includes('addUpdateRange is not a function')) return false;
return true;
});
// Alternatively you can use CommonJS syntax:
// require('./commands')