User Story
As a developer,
I want to create a script that validates username and password,
so that the system can debug the login process effectively.
Acceptance Criteria
Given two variables, username
(text) and password
(number),
when both are correct,
then display: DEBUG | You logged in successfully
.
Given the correct username
but an incorrect password
,
when the user attempts to log in,
then display: DEBUG | You entered a wrong password.
Given the incorrect username
but a correct password
,
when the user attempts to log in,
then display: DEBUG | You entered a wrong username.
Given both an incorrect username
and password
,
when the user attempts to log in,
then display: DEBUG | Your both username and password are wrong.