feature: user, project, channel and job offer create test flows and project, channel and job offer edit test flows

This commit is contained in:
Jure Ursic
2020-07-03 19:25:23 +02:00
parent e5e2815f0d
commit 8b84de7b37
13 changed files with 533 additions and 89 deletions

@ -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();
}
});