Browse Source

fix(recorder): Fix Cypress Tests

version-14
Aditya Hase 4 years ago
parent
commit
a706971b9b
No known key found for this signature in database GPG Key ID: A55F0FCA0234972
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      cypress/integration/recorder.js

+ 2
- 2
cypress/integration/recorder.js View File

@@ -61,10 +61,10 @@ context('Recorder', () => {

cy.visit('/desk#recorder');

cy.get('.list-row-container span').contains('frappe.desk.reportview.get').click();
cy.get('.list-row-container span').contains('/api/method/frappe').click();

cy.location('hash').should('contain', '#recorder/request/');
cy.get('form').should('contain', 'frappe.desk.reportview.get');
cy.get('form').should('contain', '/api/method/frappe');

cy.get('#page-recorder .primary-action').should('contain', 'Stop').click();
cy.get('#page-recorder .btn-secondary').should('contain', 'Clear').click();


Loading…
Cancel
Save