ToolJet/cypress-tests/cypress/support/e2e.js
Midhun Kumar E 06cc6ece9d
Added code coverage for cypress (#8234)
* Frontend: Add new plugin babel-plugin-istanbul

* Frontend: Add plugin to babel config

* Cypress: Add new plugin code-coverage

* Cypress: Add plugin to common  cypress suite

* Cypress: Add reports to .gitignore

* Actions: Add new action to check coverage

* Cypress: minor config changes

* test

* test-2

* Action: Add verification for generated coverage files

* Modify action file

* Modify action file with command changes

* debug commit

* debug commit-2

* debug commit-3

* Update runjsHappyPath.cy.js

* debug commit-4

* Revert "debug commit-5"

This reverts commit 8b795d86ae.

* Revert "debug commit-3"

This reverts commit d2e440e04b.

* Add action name

* Fix marketplace specs

* Fix query failures

* Add review changes

* Add cypress package.lock changes

* Add frontend package.lock changes

* Add cypress minor  package.lock changes

* Minor action changes
2023-12-28 15:16:16 +05:30

26 lines
860 B
JavaScript

// ***********************************************************
// This example support/index.js 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/commands";
import "../commands/apiCommands";
import "cypress-real-events";
import "@cypress/code-coverage/support";
// Alternatively you can use CommonJS syntax:
// require('./commands')
Cypress.on("uncaught:exception", (err, runnable) => {
return false;
});