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 installHaving 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@latestStarting Development - (not needed for executing Playwright tests as the test suit tests the application launch)
Start the app in the dev environment:
npm startTo package apps for the local platform:
npm run packageSee the docs and guides here