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

Commit 4072336

Browse files
committed
tests: fix failing Cypress E2E test
1 parent 84efee5 commit 4072336

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

test/cypress/integration/example05.spec.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -243,8 +243,7 @@ describe('Example 5 - OData Grid', () => {
243243
it('should Clear all Sorting', () => {
244244
cy.get('#grid5')
245245
.find('button.slick-grid-menu-button')
246-
.trigger('click')
247-
.click();
246+
.click({ force: true });
248247

249248
cy.get(`.slick-grid-menu:visible`)
250249
.find('.slick-menu-item:nth(1)')
@@ -335,8 +334,7 @@ describe('Example 5 - OData Grid', () => {
335334
it('should Clear all Filters, set 20 items per page & uncheck "enableCount"', () => {
336335
cy.get('#grid5')
337336
.find('button.slick-grid-menu-button')
338-
.trigger('click')
339-
.click();
337+
.click({ force: true });
340338

341339
cy.get(`.slick-grid-menu:visible`)
342340
.find('.slick-menu-item')
@@ -417,8 +415,7 @@ describe('Example 5 - OData Grid', () => {
417415
it('should Clear all Sorting', () => {
418416
cy.get('#grid5')
419417
.find('button.slick-grid-menu-button')
420-
.trigger('click')
421-
.click();
418+
.click({ force: true });
422419

423420
cy.get(`.slick-grid-menu:visible`)
424421
.find('.slick-menu-item:nth(1)')

0 commit comments

Comments
 (0)