Skip to content

Commit f87b7f1

Browse files
committed
[PRMP-915] Update report type in URL for Lloyd George summary downloads
1 parent c6ffaab commit f87b7f1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

app/cypress/e2e/0-ndr-core-tests/download_lloyd_george_summary.cy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ describe('GP Workflow: Download Lloyd George summary report', () => {
3535

3636
cy.url().should(
3737
'eq',
38-
Cypress.config('baseUrl') + `${routes.createReportComplete}?reportType=0`,
38+
Cypress.config('baseUrl') + `${routes.createReportComplete}?reportType=PATIENT`,
3939
);
4040
},
4141
);

app/cypress/e2e/1-ndr-smoke-tests/gp_user_workflows/download_lloyd_george_summary_report_workflow.cy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ describe('GP Workflow: Download Lloyd George summary report', () => {
3333

3434
cy.url().should(
3535
'eq',
36-
Cypress.config('baseUrl') + `${routes.createReportComplete}?reportType=0`,
36+
Cypress.config('baseUrl') + `${routes.createReportComplete}?reportType=PATIENT`,
3737
);
3838

3939
cy.getByTestId('logout-btn').click();

app/cypress/support/e2e.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ Cypress.Commands.add('navigateToDownloadReportPage', () => {
122122
cy.getByTestId('download-report-btn').should('exist');
123123
cy.getByTestId('download-report-btn').click();
124124

125-
cy.url().should('eq', baseUrl + `${routes.createReport}?reportType=0`);
125+
cy.url().should('eq', baseUrl + `${routes.createReport}?reportType=PATIENT`);
126126
});
127127

128128
declare global {

0 commit comments

Comments
 (0)