UNPKG

cypress-bootstrap

Version:

Cypress Bootstrap is a project scaffolding tool that sets up a Cypress automation framework with a standardized folder structure and Page Object Model (POM) design. It helps teams quickly start testing with built-in best practices and sample specs.

33 lines (30 loc) 1.04 kB
// *********************************************************** // This example support/e2e.ts is processed and // loaded automatically before your test files. // // This is a great place to put global configuration and // behavior that modifies Cypress. // // You can change the location of this file or turn off // automatically serving support files with the // 'supportFile' configuration option. // // You can read more here: // https://on.cypress.io/configuration // *********************************************************** // Import commands.js using ES2015 syntax: import './commands'; import '../testbase/ApiBase'; import 'cypress-plugin-api'; import 'cypress-real-events'; import 'cypress-mochawesome-reporter/register'; import 'cypress-map'; import '@4tw/cypress-drag-drop'; import 'cypress-wait-until'; import 'cypress-axe'; import { recurse } from 'cypress-recurse'; import registerCypressGrep from '@cypress/grep/src/support'; registerCypressGrep(); Cypress.on('uncaught:exception', (err, runnable) => { return false; });