Skip to content

Commit

Permalink
Retry less
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeltaranto committed Mar 1, 2024
1 parent f609508 commit 327e972
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cypress/support/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ export const findInCode = (term) => {
typeCode(`{${cmdPlus('f')}}`);

cy.on('fail', (e, test) => {
if (findErrors[test.title] === 3) {
if (findErrors[test.title] === 2) {
throw e;
}

Expand All @@ -224,7 +224,7 @@ export const replaceInCode = (term, replaceWith) => {
typeCode(`{${cmdPlus('alt+f')}}`);

cy.on('fail', (e, test) => {
if (replaceErrors[test.title] === 3) {
if (replaceErrors[test.title] === 2) {
throw e;
}

Expand All @@ -250,7 +250,7 @@ export const jumpToLine = (line) => {
typeCode(`{${cmdPlus('g')}}`);

cy.on('fail', (e, test) => {
if (jumpErrors[test.title] === 3) {
if (jumpErrors[test.title] === 2) {
throw e;
}

Expand Down

0 comments on commit 327e972

Please sign in to comment.