From 07f5484ef29bca0e72987316edd94ef4de41b3e4 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Sun, 23 Aug 2020 13:19:38 +0530 Subject: [PATCH] fix(test): attempt to fix recorder test --- cypress/integration/recorder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/integration/recorder.js b/cypress/integration/recorder.js index 878d8af848..ed2a9c86ba 100644 --- a/cypress/integration/recorder.js +++ b/cypress/integration/recorder.js @@ -61,7 +61,7 @@ context('Recorder', () => { cy.visit('/desk#recorder'); - cy.contains('.list-row-container span', 'frappe.desk.reportview.get').click(); + cy.get('.list-row-container span').contains('frappe.desk.reportview.get').click(); cy.location('hash').should('contain', '#recorder/request/'); cy.get('form').should('contain', 'frappe.desk.reportview.get');