* refactor: change how test runner opens pageWithUserData instances
* fix: test move tabs
* fix: custom ca cert tests
* fix: update file patterns and improve error messages
* fix: improve electron app launch logic
* fix: update temporary directory handling for Electron app
* fix: ensure newline at end of file in index.ts
This change adds a newline at the end of the file to comply with coding standards.
* fix: improve error handling in recursiveCopy function
- Simplified error message when source path does not exist.
- Enhanced error handling to provide clearer guidance on usage of `page` fixture.
* fix(e2e): close collections after each tests
* fix: reuse the worker instance per file instead of per user data dir
* fix: revert ssl tests as serial run is fixed
* fix: change afterEach to afterAll for cleanup
fix: change afterEach to afterAll for cleanup
---------
Co-authored-by: Bijin Bruno <bijin@usebruno.com>
- Trace will capture snapshots now
- Added ability to add init Electron user-data, preferences and other
app settings.
- Improved test Fixtures
- Use tempdir for Electron user-data
- Ability to reuse app instance for a given init user-data by placing
them in a folder(`pageWithUserData` Fixture)
- Ability to create tests with fresh user-data(`newPage` Fixture)
- Improved logging
- Improved the env vars to customize the Electron user-data-path
- Improved the Codegen setup
- Removed the app-launch related boilerplate from tests
- Enable recording mode by default
- Option to provide the test file name to save the recording
- Added GitHub workflow to run Playwright tests with Electron in
Headless mode(mocking display using `xvfb`).