From ad0886f5955f22d295394048c39b6e16ca1179b7 Mon Sep 17 00:00:00 2001 From: Tom Carchrae Date: Tue, 23 Sep 2025 09:22:43 -0700 Subject: [PATCH 1/2] change default to electron (chromium not currently working) --- src/constants.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/constants.js b/src/constants.js index f8f42e9f..d1fbcede 100644 --- a/src/constants.js +++ b/src/constants.js @@ -1,4 +1,4 @@ module.exports = { PLUGIN_NAME: 'netlify-plugin-cypress', - DEFAULT_BROWSER: 'chromium', + DEFAULT_BROWSER: 'electron', } From fee6a6b91cf8837cd9409698a94e046cfe6f9789 Mon Sep 17 00:00:00 2001 From: Tom Carchrae Date: Tue, 23 Sep 2025 09:26:22 -0700 Subject: [PATCH 2/2] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 71eaa625..520d47af 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,8 @@ And then add the plugin's name to the list of build plugins in `netlify.toml` fi ### Chromium install +*note:* the most recent version does not install chromium (it is broken), so it defaults to using the built in electron browser. + This plugin installs [via Puppeteer](https://github.com/puppeteer/puppeteer) Chromium browser, which is also cached inside `./node_modules` folder. ## How does it work @@ -202,6 +204,8 @@ See [cypress-example-kitchensink](https://github.com/cypress-io/cypress-example- ### browser +*note:* the most recent version does not install chromium (it is broken), so it defaults to using the built in electron browser. + By default all tests run using the Chromium browser. If you want to use Electron: ```toml