Question: 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
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
