瀏覽代碼

Merge pull request #11462 from adityahase/fix-recorder-tests

fix(recorder): Fix Cypress Tests
version-14
Aditya Hase 4 年之前
committed by GitHub
父節點
當前提交
659b3bb9f1
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 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();


Loading…
取消
儲存