Skip to content

Commit

Permalink
Remove deprecated function
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgoth committed Oct 26, 2023
1 parent aebcf6a commit 1eabd59
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cypress/support/e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ Cypress.on('uncaught:exception', (err, runnable) => {
afterEach(function onAfterEach() {
if ((this.currentTest as Mocha.Test).state === 'failed') {
cy.setCookie('shouldSkip', 'true');
Cypress.Cookies.defaults({
preserve: 'shouldSkip'
});
//set cookie to skip tests for further specs
// this.skip()
// Cypress.runner.stop();
Expand Down

0 comments on commit 1eabd59

Please sign in to comment.