Преглед изворни кода

fix(style): add wait for test

version-14
Rushabh Mehta пре 3 година
родитељ
комит
1e48d058b7
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      cypress/integration/list_view.js

+ 1
- 1
cypress/integration/list_view.js Прегледај датотеку

@@ -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…
Откажи
Сачувај