Skip to content

Run Playwright Tests Action A GitHub Action to run Playwright tests with retry and headless mode.

Notifications You must be signed in to change notification settings

sumanthtps/playwright-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"

About

Run Playwright Tests Action A GitHub Action to run Playwright tests with retry and headless mode.

Resources

Stars

Watchers

Forks

Packages

No packages published