feature: user, project, channel and job offer create test flows and project, channel and job offer edit test flows
This commit is contained in:
@ -13,10 +13,12 @@
|
||||
// https://on.cypress.io/configuration
|
||||
// ***********************************************************
|
||||
|
||||
// Import commands.js using ES2015 syntax:
|
||||
import './commands'
|
||||
/* globals Cypress */
|
||||
|
||||
//require('cypress-terminal-report').installSupport();
|
||||
// Import commands.js using ES2015 syntax:
|
||||
import './commands';
|
||||
|
||||
require('cypress-terminal-report').installSupport();
|
||||
|
||||
// Alternatively you can use CommonJS syntax:
|
||||
// require('./commands')
|
||||
@ -27,4 +29,9 @@ Cypress.on('uncaught:exception', (err, runnable) => {
|
||||
return false;
|
||||
});
|
||||
|
||||
Cypress.on('fail', () => Cypress.runner.abort())
|
||||
Cypress.on('fail', (error) => {
|
||||
console.log(error);
|
||||
if ( typeof Cypress.runner.abort == 'function' ) {
|
||||
Cypress.runner.abort();
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user