diff --git a/cypress/integration/form.js b/cypress/integration/form.js index 1f4a5136c3..71cc6f4f0d 100644 --- a/cypress/integration/form.js +++ b/cypress/integration/form.js @@ -8,7 +8,7 @@ context('Form', () => { }); it('create a new form', () => { cy.visit('/app/todo/new'); - cy.get_field('description', 'Text Editor').type('this is a test todo').wait(200); + cy.get_field('description', 'Text Editor').type('this is a test todo', {force: true}).wait(200); cy.get('.page-title').should('contain', 'Not Saved'); cy.intercept({ method: 'POST', diff --git a/cypress/integration/report_view.js b/cypress/integration/report_view.js index b999461433..a6b49c2b53 100644 --- a/cypress/integration/report_view.js +++ b/cypress/integration/report_view.js @@ -23,7 +23,7 @@ context('Report View', () => { let cell = cy.get('.dt-row-0 > .dt-cell--col-4'); // select the cell cell.dblclick(); - cell.findByRole('checkbox').check({ force: true }).blur(); + cell.findByRole('checkbox').check({ force: true }) cy.wait('@value-update'); cy.get('@doc').then(doc => { cy.call('frappe.client.get_value', { diff --git a/cypress/integration/timeline.js b/cypress/integration/timeline.js index a621a451e2..5cb5b6ee18 100644 --- a/cypress/integration/timeline.js +++ b/cypress/integration/timeline.js @@ -47,8 +47,8 @@ context('Timeline', () => { //Deleting the added ToDo cy.get('[id="page-ToDo"] .page-actions .menu-btn-group [data-original-title="Menu"]').click({ force: true }); - cy.get('[id="page-ToDo"] .page-actions .menu-btn-group .dropdown-item').contains('Delete').click(); - cy.get_open_dialog().findByRole('button', {name: 'Yes'}).click(); + cy.get('[id="page-ToDo"] .page-actions .menu-btn-group .dropdown-item').contains('Delete').click({ force: true }); + cy.get_open_dialog().findByRole('button', {name: 'Yes'}).click({ force: true }); }); it('Timeline should have submit and cancel activity information', () => {