From 92dcc94b62a903a66409b29b6f075b24e75b5730 Mon Sep 17 00:00:00 2001 From: Faris Ansari Date: Thu, 13 Dec 2018 18:02:55 +0530 Subject: [PATCH] =?UTF-8?q?test:=20=F0=9F=92=8D=20Update=20row=20selector?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cypress/integration/datatable_spec.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cypress/integration/datatable_spec.js b/cypress/integration/datatable_spec.js index 5566e44..6c19ef5 100644 --- a/cypress/integration/datatable_spec.js +++ b/cypress/integration/datatable_spec.js @@ -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'); @@ -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(); @@ -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'); }); }); });