Skip to content

Commit

Permalink
test: πŸ’ Update row selector
Browse files Browse the repository at this point in the history
  • Loading branch information
netchampfaris committed Dec 13, 2018
1 parent 19fb921 commit 92dcc94
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cypress/integration/datatable_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ describe('DataTable', function () {
.its('currentSort.colIndex')
.should('eq', 2);

cy.get('.dt-body .dt-row:first')
cy.get('.dt-scrollable .dt-row:first')
.contains('Airi Satou');

cy.clickDropdownItem(2, 'Reset sorting');
Expand All @@ -153,7 +153,7 @@ describe('DataTable', function () {

describe('Row', function () {
it('check / uncheck row', function () {
cy.get('.dt-body .dt-row:first')
cy.get('.dt-scrollable .dt-row:first')
.find('input[type="checkbox"]')
.click();

Expand Down Expand Up @@ -240,7 +240,7 @@ describe('DataTable', function () {
cy.getCell(5, 24).click().type('{ctrl}f');
cy.get('@filterInput5').type('>3000');

cy.get('.dt-body .dt-row').first().should('have.class', 'dt-row-24');
cy.get('.dt-scrollable .dt-row').first().should('have.class', 'dt-row-24');
});
});
});

0 comments on commit 92dcc94

Please sign in to comment.