Skip to content

Commit

Permalink
Update medical-records-self-entered-records.cypress.spec.js
Browse files Browse the repository at this point in the history
  • Loading branch information
timothy-steele-va committed Nov 27, 2024
1 parent 969fc1c commit cfc8bb0
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ describe('Medical Records download page', () => {
const site = new MedicalRecordsSite();
site.login();
site.loadPage();
// cy.intercept('POST', '/my_health/v1/medical_records/session', {
// statusCode: 204,
// body: {},
// }).as('session');
cy.intercept('POST', '/my_health/v1/medical_records/session', {
statusCode: 204,
body: {},
}).as('session');
cy.intercept('GET', '/my_health/v1/medical_records/session/status', {
statusCode: 200,
body: sessionStatus, // status response copied from staging
Expand All @@ -20,8 +20,6 @@ describe('Medical Records download page', () => {

cy.get('[data-testid="downloadSelfEnteredButton"]').should('be.visible');

cy.get('[data-testid="downloadSelfEnteredButton"]').click();

// Axe check
cy.injectAxe();
cy.axeCheck('main');
Expand Down

0 comments on commit cfc8bb0

Please sign in to comment.