Skip to content

Commit 823e145

Browse files
committed
fix(test): Grid Presets text filter should load operator+empty value
1 parent 41ec087 commit 823e145

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

test/cypress/e2e/example16.cy.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -257,19 +257,19 @@ describe('Example 16 - Regular & Custom Tooltips', () => {
257257
cy.get('[data-test="filter-empty-desc"]').click();
258258

259259
cy.get(`[style="top:${GRID_ROW_HEIGHT * 0}px"] > .slick-cell:nth(4) span`).should('be.empty');
260-
cy.get(`[style="top:${GRID_ROW_HEIGHT * 0}px"] > .slick-cell:nth(4) span`).should('be.empty');
261-
cy.get(`[style="top:${GRID_ROW_HEIGHT * 0}px"] > .slick-cell:nth(4) span`).should('be.empty');
262-
cy.get(`[style="top:${GRID_ROW_HEIGHT * 0}px"] > .slick-cell:nth(4) span`).should('be.empty');
263-
cy.get(`[style="top:${GRID_ROW_HEIGHT * 0}px"] > .slick-cell:nth(4) span`).should('be.empty');
260+
cy.get(`[style="top:${GRID_ROW_HEIGHT * 1}px"] > .slick-cell:nth(4) span`).should('be.empty');
261+
cy.get(`[style="top:${GRID_ROW_HEIGHT * 2}px"] > .slick-cell:nth(4) span`).should('be.empty');
262+
cy.get(`[style="top:${GRID_ROW_HEIGHT * 3}px"] > .slick-cell:nth(4) span`).should('be.empty');
263+
cy.get(`[style="top:${GRID_ROW_HEIGHT * 4}px"] > .slick-cell:nth(4) span`).should('be.empty');
264264
});
265265

266266
it('should change filters dynamically with just "!=" filter and expect rows with non-empty descriptions', () => {
267267
cy.get('[data-test="filter-non-empty-desc"]').click();
268268

269269
cy.get(`[style="top:${GRID_ROW_HEIGHT * 0}px"] > .slick-cell:nth(4) span`).should('not.be.empty');
270-
cy.get(`[style="top:${GRID_ROW_HEIGHT * 0}px"] > .slick-cell:nth(4) span`).should('not.be.empty');
271-
cy.get(`[style="top:${GRID_ROW_HEIGHT * 0}px"] > .slick-cell:nth(4) span`).should('not.be.empty');
272-
cy.get(`[style="top:${GRID_ROW_HEIGHT * 0}px"] > .slick-cell:nth(4) span`).should('not.be.empty');
273-
cy.get(`[style="top:${GRID_ROW_HEIGHT * 0}px"] > .slick-cell:nth(4) span`).should('not.be.empty');
270+
cy.get(`[style="top:${GRID_ROW_HEIGHT * 1}px"] > .slick-cell:nth(4) span`).should('not.be.empty');
271+
cy.get(`[style="top:${GRID_ROW_HEIGHT * 2}px"] > .slick-cell:nth(4) span`).should('not.be.empty');
272+
cy.get(`[style="top:${GRID_ROW_HEIGHT * 3}px"] > .slick-cell:nth(4) span`).should('not.be.empty');
273+
cy.get(`[style="top:${GRID_ROW_HEIGHT * 4}px"] > .slick-cell:nth(4) span`).should('not.be.empty');
274274
});
275275
});

0 commit comments

Comments
 (0)