Skip to content

ZaafirDar/PlaywrightTypeScriptDemo

Repository files navigation

PlaywrightTypeScriptDemo

Setup Instructions

Prerequisites

  • Node.js (>= 12.x)
  • npm (>= 6.x) or yarn (>= 1.x)

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/PlaywrightTypeScriptDemo.git
    cd PlaywrightTypeScriptDemo
  2. Install dependencies:

    npm install

    or

    yarn install

Running Tests

  1. Run the tests:

    npx playwright test

    or

    yarn playwright test
  2. View the test report:

    npx playwright show-report

    or

    yarn playwright show-report

Additional Commands

  • To run a specific test file:

    npx playwright test path/to/test-file.spec.ts

    or

    yarn playwright test path/to/test-file.spec.ts
  • To update Playwright browsers:

    npx playwright install

    or

    yarn playwright install

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published