Skip to content

cprime-talent/login-simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

login-simulation

Simulation of a website login for BDD exercises.

This can be accessed here https://radtac-craft.github.io/login-simulation/

Here's what it does:

  • Has username, password field, a message, a reset and a login button
  • If no details entered, shows unique message
  • If just username, shows unique message
  • If just password, shows unique message
  • If wrong username password entered, shows unique message
  • If reset clicked, clears username and password fields and clears message
  • If wrong username and password entered, increases number of attempts
  • If more than 3 failed attempts, forwards to Access Denied page
  • If correct username and password entered, forwards to Logged In page

Correct username/password is falken/joshua

BDD Exercises

  • Test for page being secure initially
  • Test for page going secure when entering insecure URL
  • Test that entering just a username and clicking Log In shows a specific message
  • Test that entering just a password and clicking Log In shows a specific message
  • Test that entering nothing and clicking Log In shows a specific message
  • Test that entering incorrect username and password shows a specific message
  • Test that on the 4th invalid username/password entry the user is sent to the Access Denied page
  • Test that entering empty fields and hitting Log In do not affect the invalid attempts count
  • Test that the reset button clears all the fields
  • Test that the reset button does not reset the invalid attempts count
  • Test that entering the correct username and password sends the user to the Logged In page

About

Simulation of a website login for BDD exercises

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published