Skip to content

Test automation frameworks built with Playwright, Cucumber, and Java, with a parallel TypeScript version for learning and comparison. Work in progress and experimental playground.

Notifications You must be signed in to change notification settings

reevee-codes/playwright-java-vs-playwright-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Running Tests in Playwright Java

# Run all tests
mvn clean test

# Run with specific tags
mvn test -Dcucumber.filter.tags="@smoke"

# Run with specific environment
mvn test -DbaseUrl=https://staging.ultimateqa.com

Example:

mvn test -DbaseUrl=https://staging.ultimateqa.com -Dbrowser=firefox -Dheadless=true

Running Tests in Playwright

Now you can run the tests in several ways:

  1. Run all tests in headless mode:
npm test
  1. Run tests in headed mode (browser visible):
npm run test:headed
  1. Run tests with Playwright UI mode (interactive):
npm run test:ui
  1. Run tests in debug mode:
npm run test:debug

About

Test automation frameworks built with Playwright, Cucumber, and Java, with a parallel TypeScript version for learning and comparison. Work in progress and experimental playground.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published