From db45b9f2e041b1b38f92b26856835c138c20ce30 Mon Sep 17 00:00:00 2001 From: NogaNHS Date: Mon, 8 Jan 2024 17:07:07 +0000 Subject: [PATCH] fix cypress tests --- .../gp_user_workflows/download_lloyd_george_workflow.cy.js | 3 +-- .../gp_user_workflows/view_lloyd_george_workflow.cy.js | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/app/cypress/e2e/0-ndr-core-tests/gp_user_workflows/download_lloyd_george_workflow.cy.js b/app/cypress/e2e/0-ndr-core-tests/gp_user_workflows/download_lloyd_george_workflow.cy.js index 05275eadf..f4c9af05d 100644 --- a/app/cypress/e2e/0-ndr-core-tests/gp_user_workflows/download_lloyd_george_workflow.cy.js +++ b/app/cypress/e2e/0-ndr-core-tests/gp_user_workflows/download_lloyd_george_workflow.cy.js @@ -99,8 +99,7 @@ describe('GP Workflow: View Lloyd George record', () => { cy.get('#verify-submit').click(); cy.wait('@lloydGeorgeStitch'); - cy.getByTestId('actions-menu').click(); - cy.getByTestId('download-all-files-link').should('not.exist'); + cy.getByTestId('actions-menu').should('not.exist'); }, ); diff --git a/app/cypress/e2e/0-ndr-core-tests/gp_user_workflows/view_lloyd_george_workflow.cy.js b/app/cypress/e2e/0-ndr-core-tests/gp_user_workflows/view_lloyd_george_workflow.cy.js index 4330e9eae..8f1b30989 100644 --- a/app/cypress/e2e/0-ndr-core-tests/gp_user_workflows/view_lloyd_george_workflow.cy.js +++ b/app/cypress/e2e/0-ndr-core-tests/gp_user_workflows/view_lloyd_george_workflow.cy.js @@ -319,8 +319,7 @@ describe('GP Workflow: View Lloyd George record', () => { cy.get('#verify-submit').click(); cy.wait('@lloydGeorgeStitch'); - cy.getByTestId('actions-menu').click(); - cy.getByTestId('download-all-files-link').should('not.exist'); + cy.getByTestId('actions-menu').should('not.exist'); }, ); });