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

Commit 80f9e99

Browse files
committed
chore: update Cypress tests and remove "test" csss class
1 parent 6ff7f98 commit 80f9e99

File tree

3 files changed

+20
-20
lines changed

3 files changed

+20
-20
lines changed

test/cypress/e2e/example10.cy.ts

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ describe('Example 10 - Multiple Grids with Row Selection', { retries: 1 }, () =>
4444
cy.get('#grid2')
4545
.find('.slick-row')
4646
.children()
47-
.filter('.slick-cell-checkboxsel.selected.true')
47+
.filter('.slick-cell-checkboxsel.selected')
4848
.should('have.length', 1);
4949
});
5050

@@ -62,7 +62,7 @@ describe('Example 10 - Multiple Grids with Row Selection', { retries: 1 }, () =>
6262
cy.get('#grid2')
6363
.find('.slick-row')
6464
.children()
65-
.filter('.slick-cell-checkboxsel.selected.true')
65+
.filter('.slick-cell-checkboxsel.selected')
6666
.should('have.length', 2);
6767
});
6868

@@ -385,7 +385,7 @@ describe('Example 10 - Multiple Grids with Row Selection', { retries: 1 }, () =>
385385
cy.get('#grid2')
386386
.find('.slick-row')
387387
.children()
388-
.filter('.slick-cell-checkboxsel.selected.true')
388+
.filter('.slick-cell-checkboxsel.selected')
389389
.should('have.length', 1);
390390
});
391391

@@ -406,7 +406,7 @@ describe('Example 10 - Multiple Grids with Row Selection', { retries: 1 }, () =>
406406
cy.get('@grid2')
407407
.find('.slick-row')
408408
.children()
409-
.filter('.slick-cell-checkboxsel.selected.true')
409+
.filter('.slick-cell-checkboxsel.selected')
410410
.should('have.length', 2);
411411
});
412412

@@ -423,7 +423,7 @@ describe('Example 10 - Multiple Grids with Row Selection', { retries: 1 }, () =>
423423
cy.get('@grid2')
424424
.find('.slick-row')
425425
.children()
426-
.filter('.slick-cell-checkboxsel.selected.true')
426+
.filter('.slick-cell-checkboxsel.selected')
427427
.should('have.length', 1);
428428
});
429429

@@ -445,7 +445,7 @@ describe('Example 10 - Multiple Grids with Row Selection', { retries: 1 }, () =>
445445
cy.get('@grid2')
446446
.find('.slick-row')
447447
.children()
448-
.filter('.slick-cell-checkboxsel.selected.true')
448+
.filter('.slick-cell-checkboxsel.selected')
449449
.should('have.length', 2);
450450

451451
cy.window().then((win) => {
@@ -474,7 +474,7 @@ describe('Example 10 - Multiple Grids with Row Selection', { retries: 1 }, () =>
474474
cy.get('@grid2')
475475
.find('.slick-row')
476476
.children()
477-
.filter('.slick-cell-checkboxsel.selected.true')
477+
.filter('.slick-cell-checkboxsel.selected')
478478
.should('have.length', 2);
479479
});
480480

@@ -491,7 +491,7 @@ describe('Example 10 - Multiple Grids with Row Selection', { retries: 1 }, () =>
491491
cy.get('@grid2')
492492
.find('.slick-row')
493493
.children()
494-
.filter('.slick-cell-checkboxsel.selected.true')
494+
.filter('.slick-cell-checkboxsel.selected')
495495
.should('have.length', 1);
496496
});
497497
});
@@ -536,7 +536,7 @@ describe('Example 10 - Multiple Grids with Row Selection', { retries: 1 }, () =>
536536
cy.get('[data-test=grid1-selections]')
537537
.contains('Task 300');
538538

539-
cy.get('.slick-cell.l0.r0.slick-cell-checkboxsel.selected.true')
539+
cy.get('.slick-cell.l0.r0.slick-cell-checkboxsel.selected')
540540
.should('exist');
541541

542542
cy.get('[data-test=grid1-selections]')
@@ -591,7 +591,7 @@ describe('Example 10 - Multiple Grids with Row Selection', { retries: 1 }, () =>
591591
cy.get('@grid2')
592592
.find('.slick-row')
593593
.children()
594-
.filter('.slick-cell-checkboxsel.selected.true')
594+
.filter('.slick-cell-checkboxsel.selected')
595595
.should('have.length', 2);
596596

597597
cy.window().then((win) => {
@@ -631,7 +631,7 @@ describe('Example 10 - Multiple Grids with Row Selection', { retries: 1 }, () =>
631631
cy.get('@grid2')
632632
.find('.slick-row')
633633
.children()
634-
.filter('.slick-cell-checkboxsel.selected.true')
634+
.filter('.slick-cell-checkboxsel.selected')
635635
.should('have.length', 2);
636636
});
637637

@@ -648,7 +648,7 @@ describe('Example 10 - Multiple Grids with Row Selection', { retries: 1 }, () =>
648648
cy.get('@grid2')
649649
.find('.slick-row')
650650
.children()
651-
.filter('.slick-cell-checkboxsel.selected.true')
651+
.filter('.slick-cell-checkboxsel.selected')
652652
.should('have.length', 2);
653653
});
654654

@@ -673,7 +673,7 @@ describe('Example 10 - Multiple Grids with Row Selection', { retries: 1 }, () =>
673673
cy.get('@grid2')
674674
.find('.slick-row')
675675
.children()
676-
.filter('.slick-cell-checkboxsel.selected.true')
676+
.filter('.slick-cell-checkboxsel.selected')
677677
.should('have.length', 2);
678678

679679
cy.window().then((win) => {
@@ -750,7 +750,7 @@ describe('Example 10 - Multiple Grids with Row Selection', { retries: 1 }, () =>
750750
cy.get('@grid2')
751751
.find('.slick-row')
752752
.children()
753-
.filter('.slick-cell-checkboxsel.selected.true')
753+
.filter('.slick-cell-checkboxsel.selected')
754754
.should('have.length', 2);
755755

756756
cy.window().then((win) => {

test/cypress/e2e/example12.cy.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -285,13 +285,13 @@ describe('Example 12: Localization (i18n)', { retries: 1 }, () => {
285285
cy.get('@grid12')
286286
.find('.slick-row')
287287
.children()
288-
.filter('.slick-cell-checkboxsel.selected.true')
288+
.filter('.slick-cell-checkboxsel.selected')
289289
.should('have.length', 1);
290290

291291
cy.get('@grid12')
292292
.find('.slick-row')
293293
.children()
294-
.filter('.slick-cell.selected.true:nth(1)')
294+
.filter('.slick-cell.selected:nth(1)')
295295
.contains('Task 4');
296296
});
297297

@@ -310,13 +310,13 @@ describe('Example 12: Localization (i18n)', { retries: 1 }, () => {
310310
cy.get('@grid12')
311311
.find('.slick-row')
312312
.children()
313-
.filter('.slick-cell-checkboxsel.selected.true')
313+
.filter('.slick-cell-checkboxsel.selected')
314314
.should('have.length', 1);
315315

316316
cy.get('@grid12')
317317
.find('.slick-row')
318318
.children()
319-
.filter('.slick-cell.selected.true:nth(1)')
319+
.filter('.slick-cell.selected:nth(1)')
320320
.contains('Task 1497');
321321
});
322322

test/cypress/e2e/example30.cy.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ describe('Example 30 Composite Editor Modal', { retries: 1 }, () => {
449449
it('should not have any row selected after the mass-selection save is over', () => {
450450
cy.get('.slick-row')
451451
.children()
452-
.filter('.slick-cell-checkboxsel.selected.true')
452+
.filter('.slick-cell-checkboxsel.selected')
453453
.should('have.length', 0);
454454
});
455455

@@ -506,7 +506,7 @@ describe('Example 30 Composite Editor Modal', { retries: 1 }, () => {
506506
it('should not have any row selected after the mass-update save is over', () => {
507507
cy.get('.slick-row')
508508
.children()
509-
.filter('.slick-cell-checkboxsel.selected.true')
509+
.filter('.slick-cell-checkboxsel.selected')
510510
.should('have.length', 0);
511511
});
512512

0 commit comments

Comments
 (0)