diff --git a/apps/smart-forms-app/cypress/e2e/viewer.cy.ts b/apps/smart-forms-app/cypress/e2e/viewer.cy.ts index 74e09dbbc..27c976685 100644 --- a/apps/smart-forms-app/cypress/e2e/viewer.cy.ts +++ b/apps/smart-forms-app/cypress/e2e/viewer.cy.ts @@ -72,7 +72,6 @@ describe('response viewer', () => { it('edit response', () => { cy.clickOnViewerOperation('Edit Response'); - cy.getByData('form-heading').should('be.visible'); cy.goToPatientDetailsTab(); cy.initAgeValue(60); diff --git a/apps/smart-forms-app/cypress/support/commands.ts b/apps/smart-forms-app/cypress/support/commands.ts index c5e87d9b7..727930ab5 100644 --- a/apps/smart-forms-app/cypress/support/commands.ts +++ b/apps/smart-forms-app/cypress/support/commands.ts @@ -95,7 +95,6 @@ Cypress.Commands.add('waitForPopulation', () => { cy.intercept(populateRegex).as('populating'); cy.wait('@populating', { timeout: 10000 }).its('response.statusCode').should('eq', 200); - cy.getByData('form-heading').should('be.visible'); }); Cypress.Commands.add('launchFromSMARTHealthIT', () => { diff --git a/apps/smart-forms-app/src/components/Button/ReauthenticateButton.tsx b/apps/smart-forms-app/src/components/Button/ReauthenticateButton.tsx new file mode 100644 index 000000000..63b2ac57e --- /dev/null +++ b/apps/smart-forms-app/src/components/Button/ReauthenticateButton.tsx @@ -0,0 +1,20 @@ +import { Button } from '@mui/material'; +import { useNavigate } from 'react-router-dom'; + +function ReauthenticateButton() { + const navigate = useNavigate(); + + return ( + + ); +} + +export default ReauthenticateButton; diff --git a/apps/smart-forms-app/src/components/Button/UnlaunchedButton.tsx b/apps/smart-forms-app/src/components/Button/UnlaunchedButton.tsx index 8768c139f..a465b21cd 100644 --- a/apps/smart-forms-app/src/components/Button/UnlaunchedButton.tsx +++ b/apps/smart-forms-app/src/components/Button/UnlaunchedButton.tsx @@ -8,7 +8,7 @@ function UnlaunchedButton() {