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:
parent
1f9d1252a5
commit
804e3a34e8
@ -135,6 +135,9 @@ describe(__filename, function () {
|
|||||||
cy.get('span[bind="modeSelectors"]').contains('records').click();
|
cy.get('span[bind="modeSelectors"]').contains('records').click();
|
||||||
cy.get('.data-table tbody').find('tr').should('have.length', 10);
|
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('span[bind="modeSelectors"]').contains('rows').click();
|
||||||
cy.get('.data-table tbody').find('tr').should('have.length', 10);
|
cy.get('.data-table tbody').find('tr').should('have.length', 10);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user