Skip to content
This repository was archived by the owner on Jun 1, 2025. It is now read-only.

Commit b8fe30d

Browse files
authored
Merge pull request #1062 from ghiscoding/bugfix/date-filter-range-e2e
tests: add large date range to avoid Cypress flaky test failure
2 parents 39f9c04 + 5432843 commit b8fe30d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/app/examples/grid-range.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ export class GridRangeComponent implements OnInit, OnDestroy {
153153
];
154154

155155
const presetLowestDay = moment().add(-2, 'days').format('YYYY-MM-DD');
156-
const presetHighestDay = moment().add(20, 'days').format('YYYY-MM-DD');
156+
const presetHighestDay = moment().add(28, 'days').format('YYYY-MM-DD');
157157

158158
this.gridOptions = {
159159
autoResize: {

test/cypress/e2e/example25.cy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const presetMaxComplete = 80;
66
const presetMinDuration = 4;
77
const presetMaxDuration = 88;
88
const presetLowestDay = moment().add(-2, 'days').format('YYYY-MM-DD');
9-
const presetHighestDay = moment().add(20, 'days').format('YYYY-MM-DD');
9+
const presetHighestDay = moment().add(28, 'days').format('YYYY-MM-DD');
1010

1111
describe('Example 25 - Range Filters', { retries: 1 }, () => {
1212
it('should display Example title', () => {

0 commit comments

Comments
 (0)