Answered step by step
Verified Expert Solution
Question
1 Approved Answer
create unit tests for this registration page html code ( the picture of the code is attached ) the javascript code of the page is
create unit tests for this registration page html code the picture of the code is attached the javascript code of the page is attachjed based on the test cases I provided too, in javascript using jest framework. please make sure they run. PLEASE USE MY HTML CODE AND JAVASCRIPT CODE FOR THE UNIT TESTS AND TEST CASES TOO.
TEST CASES: TEST CASES TO VERIFY THE "REGISTRATION" PAGE
To verify if the registration page works properly we need to misuse it to confirm that the page will correctly verify the informations entered by the user.
## Page specific tests:
The first test will be trying to register with something that is not an email address. Success if the page shows the
please enter a valid email address
notification failure if the registration is successful.
The second test will be trying to use a password that does not meet the requirements. Success if the page shows the
Password do not meet the requirements or passwords do not match
notification failure if the registration is successful.
The third test will be trying to register with two different passwords. Success if the page shows the
Password do not meet the requirements or passwords do not match
notification failure if the registration is successful.
The fourth test is clicking on the show password button. Success if the password is shown, failure if the password is not shown.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started