소스 검색

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

fix(recorder): Fix Cypress Tests
version-14
Aditya Hase 4 년 전
committed by GitHub
부모
커밋
659b3bb9f1
No known key found for this signature in database 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();


불러오는 중...
취소
저장