Completed in 30 minutes.
I used ChatGPT to help complete the task. ChatGPT analyzed the project, provided a roadmap, and helped identify the bug. I followed its guidance and implemented the fix.
- The login form was submitting, but the user wasn’t being redirected after login.
- ChatGPT helped me find what was wrong with the code, and I fixed it accordingly.
Cypress tests added under cypress/e2e/login.cy.js:
- Test input into email and password fields
- Test successful login and redirect
- Test validation on empty form
All tests are passing ✅.
GitHub repo: https://github.com/Harry13011/entry-test