Skip to content

Commit cfc9b66

Browse files
authored
chore(angular): fix failing Cypress tests
1 parent 02eda60 commit cfc9b66

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

frameworks/angular-slickgrid/test/cypress/e2e/example13.cy.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ describe('Example 13 - Grouping & Aggregators', () => {
88
});
99

1010
it('should have exact column titles on 1st grid', () => {
11-
cy.get('#grid14')
11+
cy.get('#grid13')
1212
.find('.slick-header-columns')
1313
.children()
1414
.each(($child, index) => expect($child.text()).to.eq(fullTitles[index]));
@@ -228,13 +228,13 @@ describe('Example 13 - Grouping & Aggregators', () => {
228228
});
229229

230230
it('should open Column Picker and have a "Custom Label" as the 1st column label', () => {
231-
cy.get('#grid14').find('.slick-header-column').first().trigger('mouseover').trigger('contextmenu').invoke('show');
231+
cy.get('#grid13').find('.slick-header-column').first().trigger('mouseover').trigger('contextmenu').invoke('show');
232232

233233
cy.get('.slick-column-picker').find('.slick-column-picker-list li:nth-child(1) .checkbox-label').should('have.text', 'Custom Label');
234234
});
235235

236236
it('should open Grid Menu and have a "Custom Label" as the 1st column label', () => {
237-
cy.get('#grid14').find('button.slick-grid-menu-button').trigger('click').click({ force: true });
237+
cy.get('#grid13').find('button.slick-grid-menu-button').trigger('click').click({ force: true });
238238

239239
cy.get(`.slick-grid-menu:visible`)
240240
.find('.slick-column-picker-list li:nth-child(1) .checkbox-label')

0 commit comments

Comments
 (0)