Skip to content

Commit

Permalink
skip postpone test when postpone disabled (#909)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarekVigas authored Apr 27, 2024
1 parent 6e0a6ff commit 08d746d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypress/e2e/postponeCases.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ const month = date.getMonth() + 1;

// testy na podavanie odkladu padaju ked sa pustia po lehote na podanie odkladu kvoli datumu
// datum sa da namockovat v setDate() (src/lib/utils.js)
// test bezi len ak je formular o odklad aktualny od Jan do konca Sept
if (month >= 1 && month < 10) {
// test bezi len ak je formular o odklad aktualny od Januara do konca Marca
if (month >= 1 && month < 4) {
describe('Postpone cases', () => {
executeAllPostponeCases(['basic', 'foreignIncome'])
})
Expand Down

0 comments on commit 08d746d

Please sign in to comment.