Skip to content

Playwright test runner

Actions
A GitHub Action to run Playwright tests
v1
Latest
Star (1)

Run Playwright Tests Action

This GitHub Action runs Playwright tests.

Inputs

node-version

  • Optional: Node.js version to use.
  • Default: 18

test-folder

  • Optional: Path to the folder containing Playwright tests.
  • Default: ./tests

Example Usage

name: Playwright Tests

on:
  push:
    branches:
      - main

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
    - name: Checkout Code
      uses: actions/checkout@v3

    - name: Run Playwright Tests
      uses: sumanthtps/playwright-action@<version>
      with:
        node-version: '18'
        retries: 2
        workers: 3
        project: "projectName"

Playwright test runner is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

A GitHub Action to run Playwright tests
v1
Latest

Playwright test runner is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.