Skip to content

Repository files navigation

playwrightDemoProject

Running Tests

UI Mode

npm run test:all:head

Headless Mode

# Run all tests
npm run test:all:headless

# Run UI tests only
npm run test:ui

# Run API tests only
npm run test:api

# Run Smoke tests (1 UI and 1 API)
npm run test:smoke

# Run Regression tests (2 UI and 2 API)
npm run test:regression

Test Reports

Test reports can be found in:

  • playwright-report/index.html - Playwright HTML report
  • allure-report/index.html - Allure report

Generating Allure Reports

  1. Run tests to generate results:

    npm run test:all:headless
  2. Generate the report:

    npm run allure:generate
  3. View the report:

    npm run allure:open

    Or generate and view immediately:

    npm run allure:serve

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages