Skip to content

Commit

Permalink
cypress-fail-fast
Browse files Browse the repository at this point in the history
  • Loading branch information
nileshgulia1 committed Dec 19, 2022
1 parent bc1b4cb commit 7ec360c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cypress.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ module.exports = defineConfig({
setupNodeEvents(on, config) {
// e2e testing node events setup code
require('@cypress/code-coverage/task')(on, config);
require('cypress-fail-fast/plugin')(on, config);
return config;
},
baseUrl: 'http://localhost:3000',
},
});
});
2 changes: 2 additions & 0 deletions cypress/e2e/block-basics.cy.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import { slateBeforeEach, slateAfterEach } from '../support/e2e';

import 'cypress-fail-fast';

describe('Blocks Tests', () => {
beforeEach(slateBeforeEach);
afterEach(slateAfterEach);
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"devDependencies": {
"@cypress/code-coverage": "^3.9.5",
"@plone/scripts": "*",
"cypress-fail-fast": "^5.0.1",
"babel-plugin-transform-class-properties": "^6.24.1",
"md5": "^2.3.0"
},
Expand Down

0 comments on commit 7ec360c

Please sign in to comment.