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
Although experimentalWebKitSupport is undefined and defaults to false DEBUG setting with cypress:server:browsers:utils logs an error
cypress:server:browsers:utils WebKit is enabled, but there was an error constructing the WebKit browser: { err: Error: Cannot find module 'playwright-webkit' Require stack: - /home/mike/.cache/Cypress/13.14.2/Cypress/resources/app/packages/server/lib/browsers/utils.ts at node:internal/modules/cjs/loader:1084:15 at Function._resolveFilename (node:electron/js2c/browser_init:2:116118) at resolve (node:internal/modules/cjs/helpers:127:19) at Function.resolve (evalmachine.:1:758945) at P (:2753:103503) at Object.I [as get] (:2753:104338) at W (:2844:92715) at Object.J (:2844:95421) { code: 'MODULE_NOT_FOUND', requireStack: [ '/home/mike/.cache/Cypress/13.14.2/Cypress/resources/app/packages/server/lib/browsers/utils.ts' ] } } +0ms
Desired behavior
If experimentalWebKitSupport is undefined or set to to false, there should be no WebKit browser error in the debug logs. This is a misleading message.
Test code to reproduce
Execute:
git clone https://github.com/cypress-io/github-action
cd github-action/examples/basic
npm ci
DEBUG=cypress:server:browsers:utils,cypress:config:browser npx cypress run
I would just remove the 'Webkit is enabled, but ' part entirely
Changing the text would remove the inconsistency in the error message, however the bigger question is why it's trying to find the WebKit browser when WebKit is disabled.
Current behavior
Although
experimentalWebKitSupport
is undefined and defaults tofalse
DEBUG
setting withcypress:server:browsers:utils
logs an errorDesired behavior
If
experimentalWebKitSupport
is undefined or set to tofalse
, there should be no WebKit browser error in the debug logs. This is a misleading message.Test code to reproduce
Execute:
git clone https://github.com/cypress-io/github-action cd github-action/examples/basic npm ci DEBUG=cypress:server:browsers:utils,cypress:config:browser npx cypress run
Cypress Version
13.14.2
Node version
v20.17.0
LTSOperating System
Ubuntu
22.04.5
LTSDebug Logs
Other
No response
The text was updated successfully, but these errors were encountered: