You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Write some tests to check that the input values are legitimate before adding them to the database (i.e., check that the Email input is actually an email address instead of random letters). #112#114#113
All of the fields should be filled in before submission (no leaving Nickname empty, for example). #95
The text was updated successfully, but these errors were encountered:
Dropdown menu: alert user when user did not select any company brand, ie. companyName !== "" <-- (EDIT) 20231128 Future me: When user click the review button at the provider page, the user would be expecting the review is for that phone provider
Server Side:
Taiga's team seems to have implement some test on checking the validity of email, whether input fields are empty or whether the score is a Number.
Add checks within the /api/review post endpoint.
These test should
-check that the email is in an email format (could also use type='email' in the input component).
-check the score numbers are valid
-profanity filter for reviews/names
SirrorsMoore1975
changed the title
Express: Make Tests for Input
Test: Client and Server: Input checks before data sent to server and server check input legitimate
Nov 28, 2023
Write some tests to check that the input values are legitimate before adding them to the database (i.e., check that the Email input is actually an email address instead of random letters). #112 #114 #113
All of the fields should be filled in before submission (no leaving Nickname empty, for example). #95
The text was updated successfully, but these errors were encountered: