Fixed flaky integration test (#3768)

fix: detached element from dom in row_record_spec (#3768)
Signed-off-by: kushthedude <kushthedude@gmail.com>

Co-authored-by: Florian Giroud <6267288+fgiroud@users.noreply.github.com>
This commit is contained in:
Kush Trivedi 2021-03-30 15:23:16 +05:30 committed by GitHub
parent 1f9d1252a5
commit 804e3a34e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -135,6 +135,9 @@ describe(__filename, function () {
cy.get('span[bind="modeSelectors"]').contains('records').click();
cy.get('.data-table tbody').find('tr').should('have.length', 10);
cy.get('body[ajax_in_progress="true"]');
cy.get('body[ajax_in_progress="false"]');
cy.get('span[bind="modeSelectors"]').contains('rows').click();
cy.get('.data-table tbody').find('tr').should('have.length', 10);
});