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
- Host: GitHub
- URL: https://github.com/tanshuai/electron-playwright-e2e-test-quick-start
- Owner: tanshuai
- License: mit
- Created: 2021-11-11T09:31:40.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-15T16:13:29.000Z (about 1 year ago)
- Last Synced: 2024-05-02T01:42:36.417Z (12 months ago)
- Topics: automation, e2e-testing, electron, github-actions, javascript, playwright, testing
- Language: JavaScript
- Homepage:
- Size: 170 KB
- Stars: 9
- Watchers: 2
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Electron Playwright Example on GitHub Actions Workflow for CI/CT & E2E Testing
[](https://github.com/tanshuai/electron-playwright-e2e-test-quick-start/actions/workflows/ci.yml)
[](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