fix(style): add wait for test
This commit is contained in:
parent
15c66f6900
commit
1e48d058b7
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ context('List View', () => {
|
|||
cy.get('.list-row-container .list-row-checkbox').click({ multiple: true, force: true });
|
||||
cy.get('.actions-btn-group button').contains('Actions').should('be.visible');
|
||||
cy.intercept('/api/method/frappe.desk.reportview.get').as('list-refresh');
|
||||
cy.wait(300); // wait before you hit another refresh
|
||||
cy.wait(3000); // wait before you hit another refresh
|
||||
cy.get('button[data-original-title="Refresh"]').click();
|
||||
cy.wait('@list-refresh');
|
||||
cy.get('.list-row-container .list-row-checkbox:checked').should('be.visible');
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue