Skip to content

Test automation framework built with Playwright, Cucumber, and Java. Inside there is the same rewritten in TS in order to compare and learn. So these are two frameworks in one project. Find readme for ts project inside playwright-typescript folder.

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 framework built with Playwright, Cucumber, and Java. Inside there is the same rewritten in TS in order to compare and learn. So these are two frameworks in one project. Find readme for ts project inside playwright-typescript folder.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published