浏览代码

fix(recorder): Fix Cypress Tests

version-14
Aditya Hase 4 年前
父节点
当前提交
a706971b9b
找不到此签名对应的密钥 GPG 密钥 ID: A55F0FCA0234972
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      cypress/integration/recorder.js

+ 2
- 2
cypress/integration/recorder.js 查看文件

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


正在加载...
取消
保存