Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSG-994: Add React Hook Forms to Comet Starter App #19

Merged
merged 5 commits into from
Aug 25, 2023
Merged

CSG-994: Add React Hook Forms to Comet Starter App #19

merged 5 commits into from
Aug 25, 2023

Conversation

jbouder
Copy link
Collaborator

@jbouder jbouder commented Aug 25, 2023

Additional tool to accelerate development.

Description

  • Verified correct version of react-hook-form is added to project
  • Updated Sign In form to utilize new hooks
  • Readme updates
  • Unit test cleanup

Related Issue

N/A

Motivation and Context

More modern, industry standard for form validation

How Has This Been Tested?

  • All unit tests passing
  • E2E testins passing

Screenshots (if appropriate):

Screenshot 2023-08-25 at 8 10 15 AM

@jbouder jbouder added enhancement New feature or request refactor Misc changes to project structure or configuration labels Aug 25, 2023
Copy link

@ldelavegalopez-metrostar ldelavegalopez-metrostar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@@ -24,7 +24,7 @@ describe('signin spec', () => {
cy.signIn('test', '12345678');

// Verify Homepage after signin
cy.get('h1').should('contain', 'Welcome John Doe');
cy.get('h1').should('contain', 'My Dashboard');

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should have these Cypress tests run for each PR so we can catch these.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I would like to do that, the only issue is we need to have the app deployed somewhere to run against. Thought about deploying to GitHub pages, but the root URL changes a bit and would need some fine-tuning.

@jbouder jbouder merged commit 96d2e67 into main Aug 25, 2023
5 checks passed
@jbouder jbouder deleted the CSG-994 branch August 25, 2023 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request refactor Misc changes to project structure or configuration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants