Selaa lähdekoodia

fix(recorder): Fix Cypress Tests

version-14
Aditya Hase 4 vuotta sitten
vanhempi
commit
a706971b9b
No known key found for this signature in database GPG Key ID: A55F0FCA0234972
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. +2
    -2
      cypress/integration/recorder.js

+ 2
- 2
cypress/integration/recorder.js Näytä tiedosto

@@ -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();


Ladataan…
Peruuta
Tallenna