Skip to content

praveenpandey02/simple-login

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-login

Hello there, This repository demonstrates the automation of a simple login page. The tool used is Playwright. For the sake of brevity, it has one smoke test which will automatically run when a pull request is raised against the main branch. It has been set as a required check.

To play around, you need to follow these steps

  1. Clone this repository
  2. Install dependencies
    yarn install
    
  3. Create env file
    cp .env.example .env
    
  4. Run all tests
    yarn playwright test
    
  5. Run only smoke tests
    yarn playwright test -g "@smoke"
    
  6. To check flaky tests ('x' is the number of times you would like to run the same test automatically)
    yarn playwright test -g "subset of the test title you would like to check the flakiness of" --repeat-each=x
    

About

Tries to automate a simple login page using playwright

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors