From 51b4d3a8ea83049147305bdc632f9aee2bbd3ba3 Mon Sep 17 00:00:00 2001 From: taras Date: Wed, 27 Nov 2024 11:07:15 -0500 Subject: [PATCH] add cypress tests back to post 911 --- .../tests/01-authed.cypress.spec.js | 14 +++++++------- .../user/tests/unauthed-flows.cypress.spec.js | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/applications/post-911-gib-status/tests/01-authed.cypress.spec.js b/src/applications/post-911-gib-status/tests/01-authed.cypress.spec.js index 50a099fca14b..edcd6fe90be7 100644 --- a/src/applications/post-911-gib-status/tests/01-authed.cypress.spec.js +++ b/src/applications/post-911-gib-status/tests/01-authed.cypress.spec.js @@ -27,13 +27,13 @@ describe('Gibs Test', () => { }, ).click(); - // cy.get('#gibs-full-name').should('contain', 'First Last'); + cy.get('#gibs-full-name').should('contain', 'First Last'); - // cy.get('#print-button').click(); - // cy.get('.print-status', { timeout: Timeouts.slow }).should('be.visible'); - // cy.injectAxeThenAxeCheck(); - // cy.get('.section-header') - // .should('contain', 'Post-9/11 GI Bill') - // .and('contain', 'Statement of Benefits'); + cy.get('#print-button').click(); + cy.get('.print-status', { timeout: Timeouts.slow }).should('be.visible'); + cy.injectAxeThenAxeCheck(); + cy.get('.section-header') + .should('contain', 'Post-9/11 GI Bill') + .and('contain', 'Statement of Benefits'); }); }); diff --git a/src/platform/user/tests/unauthed-flows.cypress.spec.js b/src/platform/user/tests/unauthed-flows.cypress.spec.js index 5c9a2b8ed300..727b4d04ec8e 100644 --- a/src/platform/user/tests/unauthed-flows.cypress.spec.js +++ b/src/platform/user/tests/unauthed-flows.cypress.spec.js @@ -3,7 +3,7 @@ describe('Unauthed User Flow Test', () => { const appPaths = [ // While the page is in maintenance, it doesn't need authed // Add Below code after content build code is merged and this code is deployed - // '/education/gi-bill/post-9-11/ch-33-benefit/status', + '/education/check-remaining-post-9-11-gi-bill-benefits/status', '/records/download-va-letters/letters', '/track-claims', ];