Playwright was used to execute automated test cases in the application's first window
Electron React Boilerplate uses Electron, React, React Router, Webpack and React Fast Refresh.
Clone the repo and install dependencies:
git clone --depth 1 --branch main https://github.com/IsaSih/tests_suse your-project-name
cd your-project-name
npm install
Having issues installing? See the Electron-react-boilerplate debugging guide
npm i -D playwright @playwright/test
# Run from your project's root directory
npm init playwright@latest
Starting Development - (not needed for executing Playwright tests as the test suit tests the application launch)
Start the app in the dev
environment:
npm start
To package apps for the local platform:
npm run package
See the docs and guides here