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

Commit 5d529fd

Browse files
committed
chore: add back skipped E2E tests
1 parent 18e07da commit 5d529fd

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

test/cypress/e2e/example17.cy.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ describe('Example 17 - Row Move & Checkbox Selector Selector Plugins', () => {
149149
cy.get('[data-test="toggle-filtering-btn"]').click(); // show it back
150150
});
151151

152-
it.skip('should expect "Clear all Filters" command to be hidden in the Grid Menu', () => {
152+
it('should expect "Clear all Filters" command to be hidden in the Grid Menu', () => {
153153
const expectedFullHeaderMenuCommands = ['Clear all Filters', 'Clear all Sorting', 'Toggle Filter Row', 'Export to Excel'];
154154

155155
cy.get('#grid17')
@@ -170,7 +170,7 @@ describe('Example 17 - Row Move & Checkbox Selector Selector Plugins', () => {
170170
});
171171
});
172172

173-
it.skip('should be able to toggle Filters functionality', () => {
173+
it('should be able to toggle Filters functionality', () => {
174174
const expectedTitles = ['', '', 'Title', '% Complete', 'Start', 'Finish', 'Completed', 'Title'];
175175

176176
cy.get('[data-test="toggle-filtering-btn"]').click(); // hide it
@@ -192,7 +192,7 @@ describe('Example 17 - Row Move & Checkbox Selector Selector Plugins', () => {
192192
.each(($child, index) => expect($child.text()).to.eq(expectedTitles[index]));
193193
});
194194

195-
it.skip('should be able to toggle Sorting functionality (disable) and expect all header menu Sorting commands to be hidden and also not show Sort hint while hovering a column', () => {
195+
it('should be able to toggle Sorting functionality (disable) and expect all header menu Sorting commands to be hidden and also not show Sort hint while hovering a column', () => {
196196
const expectedFullHeaderMenuCommands = ['Resize by Content', '', 'Sort Ascending', 'Sort Descending', '', 'Remove Filter', 'Remove Sort', 'Hide Column'];
197197

198198
cy.get('.slick-sort-indicator').should('have.length.greaterThan', 0); // sort icon hints
@@ -220,7 +220,7 @@ describe('Example 17 - Row Move & Checkbox Selector Selector Plugins', () => {
220220
});
221221
});
222222

223-
it.skip('should expect "Clear Sorting" command to be hidden in the Grid Menu', () => {
223+
it('should expect "Clear Sorting" command to be hidden in the Grid Menu', () => {
224224
const expectedFullHeaderMenuCommands = ['Clear all Filters', 'Clear all Sorting', 'Toggle Filter Row', 'Export to Excel'];
225225

226226
cy.get('#grid17')
@@ -241,7 +241,7 @@ describe('Example 17 - Row Move & Checkbox Selector Selector Plugins', () => {
241241
});
242242
});
243243

244-
it.skip('should be able to toggle Sorting functionality (re-enable) and expect all Sorting header menu commands to be hidden and also not show Sort hint while hovering a column', () => {
244+
it('should be able to toggle Sorting functionality (re-enable) and expect all Sorting header menu commands to be hidden and also not show Sort hint while hovering a column', () => {
245245
const expectedFullHeaderMenuCommands = ['Resize by Content', '', 'Sort Ascending', 'Sort Descending', '', 'Remove Filter', 'Remove Sort', 'Hide Column'];
246246

247247
cy.get('.slick-sort-indicator').should('have.length', 0); // sort icon hints
@@ -265,7 +265,7 @@ describe('Example 17 - Row Move & Checkbox Selector Selector Plugins', () => {
265265
});
266266
});
267267

268-
it.skip('should expect "Clear Sorting" command to be hidden in the Grid Menu', () => {
268+
it('should expect "Clear Sorting" command to be hidden in the Grid Menu', () => {
269269
const expectedFullHeaderMenuCommands = ['Clear all Filters', 'Clear all Sorting', 'Toggle Filter Row', 'Export to Excel'];
270270

271271
cy.get('#grid17')
@@ -286,7 +286,7 @@ describe('Example 17 - Row Move & Checkbox Selector Selector Plugins', () => {
286286
});
287287
});
288288

289-
it.skip('should be able to click disable Sorting functionality button and expect all Sorting commands to be hidden and also not show Sort hint while hovering a column', () => {
289+
it('should be able to click disable Sorting functionality button and expect all Sorting commands to be hidden and also not show Sort hint while hovering a column', () => {
290290
const expectedFullHeaderMenuCommands = ['Resize by Content', '', 'Sort Ascending', 'Sort Descending', '', 'Remove Filter', 'Remove Sort', 'Hide Column'];
291291

292292
cy.get('.slick-sort-indicator').should('have.length.greaterThan', 0); // sort icon hints
@@ -314,7 +314,7 @@ describe('Example 17 - Row Move & Checkbox Selector Selector Plugins', () => {
314314
});
315315
});
316316

317-
it.skip('should be able to click disable Filter functionality button and expect all Filter commands to be hidden and also not show Sort hint while hovering a column', () => {
317+
it('should be able to click disable Filter functionality button and expect all Filter commands to be hidden and also not show Sort hint while hovering a column', () => {
318318
const expectedFullHeaderMenuCommands = ['Resize by Content', '', 'Sort Ascending', 'Sort Descending', '', 'Remove Filter', 'Remove Sort', 'Hide Column'];
319319

320320
cy.get('[data-test="disable-filters-btn"]').click().click(); // even clicking twice should have same result
@@ -340,7 +340,7 @@ describe('Example 17 - Row Move & Checkbox Selector Selector Plugins', () => {
340340
});
341341
});
342342

343-
it.skip('should expect "Clear all Filters" command to be hidden in the Grid Menu', () => {
343+
it('should expect "Clear all Filters" command to be hidden in the Grid Menu', () => {
344344
const expectedFullHeaderMenuCommands = ['Clear all Filters', 'Clear all Sorting', 'Toggle Filter Row', 'Export to Excel'];
345345

346346
cy.get('#grid17')
@@ -361,7 +361,7 @@ describe('Example 17 - Row Move & Checkbox Selector Selector Plugins', () => {
361361
});
362362
});
363363

364-
it.skip('should open Column Picker and show the "Duration" column back to visible and expect it to have kept its position after toggling filter/sorting', () => {
364+
it('should open Column Picker and show the "Duration" column back to visible and expect it to have kept its position after toggling filter/sorting', () => {
365365
// first 2 cols are hidden but they do count as li item
366366
const expectedFullPickerTitles = ['', '', 'Title', '% Complete', 'Start', 'Finish', 'Duration', 'Completed'];
367367

@@ -404,7 +404,7 @@ describe('Example 17 - Row Move & Checkbox Selector Selector Plugins', () => {
404404
});
405405
});
406406

407-
it.skip('should add Edit/Delete columns and expect 2 new columns added at the beginning of the grid', () => {
407+
it('should add Edit/Delete columns and expect 2 new columns added at the beginning of the grid', () => {
408408
const newExpectedColumns = ['', '', ...fullTitles];
409409
cy.get('[data-test="add-crud-columns-btn"]').click();
410410

0 commit comments

Comments
 (0)