An open API service indexing awesome lists of open source software.

https://github.com/tanshuai/electron-playwright-e2e-test-quick-start

Electron Playwright Example on GitHub Actions Workflow for CI/CT & E2E Testing
https://github.com/tanshuai/electron-playwright-e2e-test-quick-start

automation e2e-testing electron github-actions javascript playwright testing

Last synced: 9 days ago
JSON representation

Electron Playwright Example on GitHub Actions Workflow for CI/CT & E2E Testing

Awesome Lists containing this project

README

        

# Electron Playwright Example on GitHub Actions Workflow for CI/CT & E2E Testing
[![CI/CT for each push](https://github.com/tanshuai/electron-playwright-e2e-test-quick-start/actions/workflows/ci.yml/badge.svg)](https://github.com/tanshuai/electron-playwright-e2e-test-quick-start/actions/workflows/ci.yml)
[![CodeQL](https://github.com/tanshuai/electron-playwright-e2e-test-quick-start/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/tanshuai/electron-playwright-e2e-test-quick-start/actions/workflows/codeql-analysis.yml)

A Playwright CI/CT & E2E Testing Sample with GitHub Actions Workflow for Electron App

This is a minimal Playwright E2E-testing sample for Electron application based on the [electron-quick-start
](https://github.com/electron/electron-quick-start) with [Quick Start Guide](https://electronjs.org/docs/latest/tutorial/quick-start) within the Electron documentation and [ElectronApplication | Playwright](https://playwright.dev/docs/api/class-electronapplication/) within the Playwright documentation.

Support CI/CI with Playwright for Electron app based on GitHub Actions.

## Usage

```bash
# Install dependencies
yarn

# Run the test
yarn test

# Start the app normally
yarn start

```

## GitHub Actions Workflow

View source code:
https://github.com/tanshuai/electron-playwright-e2e-test-quick-start/blob/main/.github/workflows/ci.yml