-
Notifications
You must be signed in to change notification settings - Fork 4
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
Cypress - Frontend Tests Integration [WIP] #479
Conversation
[diff-counting] Significant lines: 331. |
- Added JSdocs comments to the encryption and decryption functions. - Updated the useful commands section in the README.md file.
"id": 8739, | ||
"name": "Jane", | ||
"email": "jane@example.com" | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: eof should be line break
"bs": "target end-to-end models" | ||
} | ||
} | ||
] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: eof should be line break
|
||
`npm run start:frontend`: It will start the frontend server. | ||
|
||
`npm run start`: It will start both the backend and frontend servers. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I might be tripping but I don't see this defined in /package.json
?
Summary
This Pull Request is the first step towards setting up a robust testing environment for the Web Frontend. Frontend tests are needed to make sure new features do not break any existing features on the frontend and most importantly they do not have any accessibility issues.
Setting Up
cypress
(testing framework)cypress-axe
(testing accessibility)Planning
General Changes
We need to use the testing database for authentication.
Authentication
Landing Page