You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds a macOS smoke test workflow and improves file opening.
83
+
84
+
- ✨ [feat] Introduces a new GitHub Actions workflow (`mac-smoke-test.yml`) to run smoke tests on macOS.
85
+
- The workflow is triggered on pushes to the `main` branch and pull requests, specifically when changes are made to files in the `electron-app/`, `fit-test-files/`, or `.github/workflows/mac-smoke-test.yml` directories.
86
+
- It sets up Node.js, installs dependencies, installs Playwright browsers, and runs smoke tests.
87
+
- Uses `macos-14` as the runner.
88
+
- 🛠️ [fix] Modifies `registerDialogHandlers.js` to handle file opening more robustly and facilitate automated testing.
89
+
- Adds `resolveForcedOpenFilePath` function, which resolves an environment-provided file path for automated smoke tests, allowing a file to be opened directly via an environment variable (`FFV_E2E_OPEN_FILE_PATH`).
90
+
- Introduces `resolveSelectedPath` to streamline the path resolution process after file selection.
91
+
- Refactors the `dialog:openFile` handler to first check for a forced path before showing the dialog.
92
+
- Adds logging to provide better feedback during automated tests.
93
+
- 🧪 [test] Adds Playwright configuration and a test file for end-to-end smoke testing.
94
+
- Creates `playwright.config.ts` to configure Playwright tests, setting timeouts, retries, and trace/screenshot/video recording options.
95
+
- Introduces `open-fit-file.spec.ts` to test the application's ability to open and decode a FIT file.
96
+
- The test launches the Electron app, waits for the window to load, and then evaluates code in the renderer process to open a specified FIT file and verify that it can be read and parsed.
97
+
- 🧹 [chore] Updates `package.json` to include a new `test:smoke` script and adds `@playwright/test` as a dev dependency.
98
+
- Updates the version number.
99
+
- Adds a `test:smoke` script that runs Playwright tests.
100
+
- Adds `@playwright/test` as a development dependency.
101
+
- 🛠️ [fix] Modifies the `sandbox` property in `windowStateUtils.js` to conditionally disable sandboxing on macOS (`darwin`) platforms.
102
+
- 📝 [docs] Updates `tsconfig.json` to include new files in the compilation process.
Adds a macOS smoke test workflow and improves file opening.
83
+
84
+
- ✨ [feat] Introduces a new GitHub Actions workflow (`mac-smoke-test.yml`) to run smoke tests on macOS.
85
+
- The workflow is triggered on pushes to the `main` branch and pull requests, specifically when changes are made to files in the `electron-app/`, `fit-test-files/`, or `.github/workflows/mac-smoke-test.yml` directories.
86
+
- It sets up Node.js, installs dependencies, installs Playwright browsers, and runs smoke tests.
87
+
- Uses `macos-14` as the runner.
88
+
- 🛠️ [fix] Modifies `registerDialogHandlers.js` to handle file opening more robustly and facilitate automated testing.
89
+
- Adds `resolveForcedOpenFilePath` function, which resolves an environment-provided file path for automated smoke tests, allowing a file to be opened directly via an environment variable (`FFV_E2E_OPEN_FILE_PATH`).
90
+
- Introduces `resolveSelectedPath` to streamline the path resolution process after file selection.
91
+
- Refactors the `dialog:openFile` handler to first check for a forced path before showing the dialog.
92
+
- Adds logging to provide better feedback during automated tests.
93
+
- 🧪 [test] Adds Playwright configuration and a test file for end-to-end smoke testing.
94
+
- Creates `playwright.config.ts` to configure Playwright tests, setting timeouts, retries, and trace/screenshot/video recording options.
95
+
- Introduces `open-fit-file.spec.ts` to test the application's ability to open and decode a FIT file.
96
+
- The test launches the Electron app, waits for the window to load, and then evaluates code in the renderer process to open a specified FIT file and verify that it can be read and parsed.
97
+
- 🧹 [chore] Updates `package.json` to include a new `test:smoke` script and adds `@playwright/test` as a dev dependency.
98
+
- Updates the version number.
99
+
- Adds a `test:smoke` script that runs Playwright tests.
100
+
- Adds `@playwright/test` as a development dependency.
101
+
- 🛠️ [fix] Modifies the `sandbox` property in `windowStateUtils.js` to conditionally disable sandboxing on macOS (`darwin`) platforms.
102
+
- 📝 [docs] Updates `tsconfig.json` to include new files in the compilation process.
0 commit comments