cypress-io / cypress

Fast, easy and reliable testing for anything that runs in a browser.
https://cypress.io
MIT License
46.77k stars 3.16k forks source link

Unable to override configured fixturesFolder via CLI #23459

Closed mklinke closed 1 year ago

mklinke commented 2 years ago

Current behavior

It's not possible to override fixturesFolder via the CLI if it's configured in cypress.config.js. If you remove the property from the file, however, the value from the CLI is picked up.

Desired behavior

The value passed in from the CLI should always override the values in the config file, just like for the other properties, e.g. baseUrl where this is working as expected.

Test code to reproduce

Create a new project by opening Cypress in an empty folder and initiating E2E testing to generate the default files:

npx cypress@10.6.0 open

Change the cypress.config.js to have this content (only added fixturesFolder):

module.exports = {
  e2e: {
    fixturesFolder: 'src/fixtures',
    setupNodeEvents(on, config) {
      // implement node event listeners here
    },
  },
};

Try to override fixturesFolder via CLI:

npx cypress@10.6.0 open --config fixturesFolder=some/other/folder

The CLI override is ignored and the value is still as configured in cypress.config.js. Please note that the Cypress UI still recognizes that the value should be overridden by marking it as red, but the value is still the one configured in cypress.config.js, ie. src/fixtures instead of some/other/folder.

Cypress Version

10.6.0

Node version

v16.15.1

Operating System

Linux 5.10.102.1-microsoft-standard-WSL2 #1 SMP Wed Mar 2 00:30:59 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Debug Logs

cypress:cli:cli cli starts with arguments ["/home/mklinke/.nvm/versions/node/v16.15.1/bin/node","/home/mklinke/.npm/_npx/5e5fd170a9fb7296/node_modules/.bin/cypress","open","--config","fixturesFolder=some/other/folder"] +0ms
  cypress:cli NODE_OPTIONS is not set +0ms
  cypress:cli:cli program parsing arguments +2ms
  cypress:cli:cli opening Cypress +1ms
  cypress:cli parsed cli options { config: 'fixturesFolder=some/other/folder' } +117ms
  cypress:cli verifying Cypress app +0ms
  cypress:cli checking environment variables +1ms
  cypress:cli checking if executable exists /home/mklinke/.cache/Cypress/10.6.0/Cypress/Cypress +3ms
  cypress:cli Binary is executable? : true +6ms
  cypress:cli binaryDir is  /home/mklinke/.cache/Cypress/10.6.0/Cypress +1ms
  cypress:cli Reading binary package.json from: /home/mklinke/.cache/Cypress/10.6.0/Cypress/resources/app/package.json +0ms
  cypress:cli Found binary version 10.6.0 installed in: /home/mklinke/.cache/Cypress/10.6.0/Cypress +7ms
  cypress:cli { verified: true } +8ms
  cypress:cli is Verified ? true +2ms
  cypress:cli opening from options {"config":"fixturesFolder=some/other/folder","project":"/home/mklinke/dev/cypress-bug"} +0ms
  cypress:cli command line arguments ["--config","fixturesFolder=some/other/folder","--project","/home/mklinke/dev/cypress-bug"] +0ms
  cypress:cli DISPLAY environment variable is set to 172.31.64.1:0.0 on Linux
  cypress:cli Assuming this DISPLAY points at working X11 server,
  cypress:cli Cypress will not spawn own Xvfb
  cypress:cli
  cypress:cli NOTE: if the X11 server is NOT working, Cypress will exit without explanation,
  cypress:cli   see https://github.com/cypress-io/cypress/issues/4034
  cypress:cli Solution: Unset the DISPLAY variable and try again:
  cypress:cli   DISPLAY= npx cypress run ... +0ms
  cypress:cli needs to start own Xvfb? false +0ms
  cypress:cli spawning, should retry on display problem? true +1ms
  cypress:cli passing DISPLAY 172.31.64.1:0.0 +7ms
  cypress:cli spawn args [ '--no-sandbox', '--', '--config', 'fixturesFolder=some/other/folder', '--project', '/home/mklinke/dev/cypress-bug', '--cwd', '/home/mklinke/dev/cypress-bug', '--userNodePath', '/home/mklinke/.nvm/versions/node/v16.15.1/bin/node', '--userNodeVersion', '16.15.1' ] { detached: false, stdio: [ 'inherit', 'inherit', 'pipe' ] } +0ms
  cypress:cli spawning Cypress with executable: /home/mklinke/.cache/Cypress/10.6.0/Cypress/Cypress +2ms
  cypress:cli piping child STDERR to process STDERR +3ms
  cypress:ts registering ts-node on directory undefined +0ms
  cypress:ts Running without ts-node hook in environment "production" +65ms
  cypress:server:appdata path: /home/mklinke/.config/Cypress/cy/production/cache +0ms
  cypress:server:appdata path: /home/mklinke/.config/Cypress/cy/production/browsers +55ms
  cypress:server:cypress starting cypress with argv [ '/home/mklinke/.cache/Cypress/10.6.0/Cypress/Cypress', '--no-sandbox', '--', '--config', 'fixturesFolder=some/other/folder', '--project', '/home/mklinke/dev/cypress-bug', '--cwd', '/home/mklinke/dev/cypress-bug', '--userNodePath', '/home/mklinke/.nvm/versions/node/v16.15.1/bin/node', '--userNodeVersion', '16.15.1' ] +0ms
  cypress:server:args argv array: [ '/home/mklinke/.cache/Cypress/10.6.0/Cypress/Cypress', '--no-sandbox', '--config', 'fixturesFolder=some/other/folder', '--project', '/home/mklinke/dev/cypress-bug', '--cwd', '/home/mklinke/dev/cypress-bug', '--userNodePath', '/home/mklinke/.nvm/versions/node/v16.15.1/bin/node', '--userNodeVersion', '16.15.1' ] +0ms
  cypress:server:args parsed argv options { options: { _: [ '/home/mklinke/.cache/Cypress/10.6.0/Cypress/Cypress' ], sandbox: false, config: 'fixturesFolder=some/other/folder', project: '/home/mklinke/dev/cypress-bug', cwd: '/home/mklinke/dev/cypress-bug', userNodePath: '/home/mklinke/.nvm/versions/node/v16.15.1/bin/node', userNodeVersion: '16.15.1' } } +3ms
  cypress:server:args argv parsed: { _: [ '/home/mklinke/.cache/Cypress/10.6.0/Cypress/Cypress' ], sandbox: false, config: 'fixturesFolder=some/other/folder', project: '/home/mklinke/dev/cypress-bug', cwd: '/home/mklinke/dev/cypress-bug', userNodePath: '/home/mklinke/.nvm/versions/node/v16.15.1/bin/node', userNodeVersion: '16.15.1', invokedFromCli: true } +4ms
  cypress:server:util:proxy found proxy environment variables { npm_config_noproxy: '' } +0ms
  cypress:server:args options { _: [ '/home/mklinke/.cache/Cypress/10.6.0/Cypress/Cypress' ], sandbox: false, config: { fixturesFolder: 'some/other/folder' }, project: '/home/mklinke/dev/cypress-bug', cwd: '/home/mklinke/dev/cypress-bug', userNodePath: '/home/mklinke/.nvm/versions/node/v16.15.1/bin/node', userNodeVersion: '16.15.1', invokedFromCli: true } +4ms
  cypress:server:args argv options: { _: [ '/home/mklinke/.cache/Cypress/10.6.0/Cypress/Cypress' ], sandbox: false, config: { fixturesFolder: 'some/other/folder' }, project: '/home/mklinke/dev/cypress-bug', cwd: '/home/mklinke/dev/cypress-bug', userNodePath: '/home/mklinke/.nvm/versions/node/v16.15.1/bin/node', userNodeVersion: '16.15.1', invokedFromCli: true, projectRoot: '/home/mklinke/dev/cypress-bug' } +0ms
  cypress:server:cypress from argv [ '/home/mklinke/.cache/Cypress/10.6.0/Cypress/Cypress', '--no-sandbox', '--config', 'fixturesFolder=some/other/folder', '--project', '/home/mklinke/dev/cypress-bug', '--cwd', '/home/mklinke/dev/cypress-bug', '--userNodePath', '/home/mklinke/.nvm/versions/node/v16.15.1/bin/node', '--userNodeVersion', '16.15.1' ] got options { _: [ '/home/mklinke/.cache/Cypress/10.6.0/Cypress/Cypress' ], sandbox: false, config: { fixturesFolder: 'some/other/folder' }, project: '/home/mklinke/dev/cypress-bug', cwd: '/home/mklinke/dev/cypress-bug', userNodePath: '/home/mklinke/.nvm/versions/node/v16.15.1/bin/node', userNodeVersion: '16.15.1', invokedFromCli: true, projectRoot: '/home/mklinke/dev/cypress-bug' } +14ms
  cypress:server:appdata path: /home/mklinke/.config/Cypress/cy/production +220ms
[27649:0819/120242.270807:WARNING:bluez_dbus_manager.cc(248)] Floss manager not present, cannot set Floss enable/disable.
  cypress:server:cypress starting in mode interactive with options { _: [ '/home/mklinke/.cache/Cypress/10.6.0/Cypress/Cypress' ], sandbox: false, config: { fixturesFolder: 'some/other/folder' }, project: '/home/mklinke/dev/cypress-bug', cwd: '/home/mklinke/dev/cypress-bug', userNodePath: '/home/mklinke/.nvm/versions/node/v16.15.1/bin/node', userNodeVersion: '16.15.1', invokedFromCli: true, projectRoot: '/home/mklinke/dev/cypress-bug' } +224ms
  cypress:server:cypress running Electron currently +1ms
[27804:0819/120242.416942:WARNING:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process.
[27804:0819/120242.420790:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.
  cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for Query.cloudLatestRunUpdateSpecData +0ms
  cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for Query.cloudProjectBySlug +1ms
  cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for Query.cloudProjectsBySlugs +0ms
  cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for Query.cloudSpecByPath +0ms
  cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for Query.cloudViewer +0ms
  cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for Query.versions +0ms
  cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for CurrentProject.cloudProject +3ms
  cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for RemoteFetchableCloudProjectResult.data +5ms
  cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for RemoteFetchableCloudProjectSpecResult.data +1ms
  cypress:server:browsers:utils getBrowsers +0ms
  cypress:launcher:detect detecting if the following browsers are present [ { name: 'chrome', family: 'chromium', channel: 'stable', displayName: 'Chrome', versionRegex: /Google Chrome (\S+)/m, binary: [ 'google-chrome', 'chrome', 'google-chrome-stable' ], minSupportedVersion: 64 }, { name: 'chromium', family: 'chromium', channel: 'stable', displayName: 'Chromium', versionRegex: /Chromium (\S+)/m, binary: [ 'chromium-browser', 'chromium' ], minSupportedVersion: 64 }, { name: 'chrome', family: 'chromium', channel: 'beta', displayName: 'Chrome Beta', versionRegex: /Google Chrome (\S+) beta/m, binary: 'google-chrome-beta', minSupportedVersion: 64 }, { name: 'chrome', family: 'chromium', channel: 'canary', displayName: 'Canary', versionRegex: /Google Chrome Canary (\S+)/m, binary: 'google-chrome-canary', minSupportedVersion: 64 }, { name: 'firefox', family: 'firefox', channel: 'stable', displayName: 'Firefox', versionRegex: /^Mozilla Firefox ([^\sab]+)$/m, binary: 'firefox', minSupportedVersion: 86, validator: [Function: validator] }, { name: 'firefox', family: 'firefox', channel: 'dev', displayName: 'Firefox Developer Edition', versionRegex: /^Mozilla Firefox (\S+b\S*)$/m, binary: [ 'firefox-developer-edition', 'firefox' ], minSupportedVersion: 86 }, { name: 'firefox', family: 'firefox', channel: 'nightly', displayName: 'Firefox Nightly', versionRegex: /^Mozilla Firefox (\S+a\S*)$/m, binary: [ 'firefox-nightly', 'firefox-trunk' ], minSupportedVersion: 86 }, { name: 'edge', family: 'chromium', channel: 'stable', displayName: 'Edge', versionRegex: /Microsoft Edge (\S+)/m, binary: [ 'edge', 'microsoft-edge' ], minSupportedVersion: 79 }, { name: 'edge', family: 'chromium', channel: 'canary', displayName: 'Edge Canary', versionRegex: /Microsoft Edge Canary (\S+)/m, binary: 'edge-canary', minSupportedVersion: 79 }, { name: 'edge', family: 'chromium', channel: 'beta', displayName: 'Edge Beta', versionRegex: /Microsoft Edge Beta (\S+)/m, binary: 'edge-beta', minSupportedVersion: 79 }, { name: 'edge', family: 'chromium', channel: 'dev', displayName: 'Edge Dev', versionRegex: /Microsoft Edge Dev (\S+)/m, binary: [ 'edge-dev', 'microsoft-edge-dev' ], minSupportedVersion: 79 } ] +0ms
  cypress:data-context:sources:GitDataSource config: { isRunMode: false, projectRoot: '/home/mklinke/dev/cypress-bug', onError: [Function (anonymous)], onBranchChange: [Function: onBranchChange], onGitInfoChange: [Function: onGitInfoChange] } +0ms
  cypress:server:util:editors get user editor +0ms
  cypress:server:saved_state making saved state from /home/mklinke/.cache/Cypress/10.6.0/Cypress/resources/app/packages/server +0ms
  cypress:server:saved_state missing project path, looking for project here +0ms
  cypress:lifecycle:ProjectConfigIpc fork child process { CHILD_PROCESS_FILE_PATH: '/home/mklinke/.cache/Cypress/10.6.0/Cypress/resources/app/node_modules/@packages/server/lib/plugins/child/require_async_child.js', configProcessArgs: [ '--projectRoot', '/home/mklinke/dev/cypress-bug', '--file', '/home/mklinke/dev/cypress-bug/cypress.config.js' ], childOptions: { stdio: 'pipe', cwd: '/home/mklinke/dev/cypress-bug', execPath: '/home/mklinke/.nvm/versions/node/v16.15.1/bin/node' } } +0ms
  cypress:lifecycle:ProjectConfigIpc trigger the load of the file +8ms
  cypress:server:saved_state making saved state from /home/mklinke/.cache/Cypress/10.6.0/Cypress/resources/app/packages/server +30ms
  cypress:server:saved_state for project path /home/mklinke/dev/cypress-bug +0ms
  cypress:server:saved_state state path for project /home/mklinke/dev/cypress-bug +432ms
  cypress:server:appdata path: /home/mklinke/.config/Cypress/cy/production/projects/cypress-bug-76771fed51895dee23203a784438df3a/state.json +1s
  cypress:server:saved_state full state path /home/mklinke/.config/Cypress/cy/production/projects/cypress-bug-76771fed51895dee23203a784438df3a/state.json +1ms
  cypress:server:saved_state making new state file around /home/mklinke/.config/Cypress/cy/production/projects/cypress-bug-76771fed51895dee23203a784438df3a/state.json +0ms
  cypress:lifecycle:child:run_require_async_child:27942 configFile: /home/mklinke/dev/cypress-bug/cypress.config.js +0ms
  cypress:lifecycle:child:run_require_async_child:27942 projectRoot: /home/mklinke/dev/cypress-bug +1ms
  cypress:data-context:sources:GitDataSource Skipping branch watching because a git error was reported +690ms
  cypress:server:util:process_profiler current & mean memory and CPU usage by process group:
  cypress:server:util:process_profiler ┌─────────┬───────────────────┬──────────────┬────────────────┬────────────┬────────────────┬──────────┬──────────────┬─────────────┐
  cypress:server:util:process_profiler │ (index) │       group       │ processCount │      pids      │ cpuPercent │ meanCpuPercent │ memRssMb │ meanMemRssMb │ maxMemRssMb │
  cypress:server:util:process_profiler ├─────────┼───────────────────┼──────────────┼────────────────┼────────────┼────────────────┼──────────┼──────────────┼─────────────┤
  cypress:server:util:process_profiler │    0    │     'cypress'     │      1       │    '27649'     │     0      │       0        │  132.66  │    132.66    │   132.66    │
  cypress:server:util:process_profiler │    1    │ 'electron-shared' │      2       │ '27651, 27652' │     0      │       0        │  93.45   │    93.45     │    93.45    │
  cypress:server:util:process_profiler │    2    │      'other'      │      2       │ '27792, 27793' │     0      │       0        │   3.39   │     3.39     │    3.39     │
  cypress:server:util:process_profiler │    3    │      'TOTAL'      │      5       │      '-'       │     0      │       0        │  229.5   │    229.5     │    229.5    │
  cypress:server:util:process_profiler └─────────┴───────────────────┴──────────────┴────────────────┴────────────┴────────────────┴──────────┴──────────────┴─────────────┘ +0ms
  cypress:server:saved_state state path for global mode +236ms
  cypress:server:appdata path: /home/mklinke/.config/Cypress/cy/production/projects/__global__/state.json +237ms
  cypress:server:saved_state full state path /home/mklinke/.config/Cypress/cy/production/projects/__global__/state.json +1ms
  cypress:server:saved_state making new state file around /home/mklinke/.config/Cypress/cy/production/projects/__global__/state.json +0ms
  cypress:lifecycle:child:run_require_async_child:27942 try loading /home/mklinke/dev/cypress-bug/cypress.config.js +284ms
  cypress:lifecycle:child:run_require_async_child:27942 Loading file /home/mklinke/dev/cypress-bug/cypress.config.js +0ms
  cypress:lifecycle:child:run_require_async_child:27942 loaded config file /home/mklinke/dev/cypress-bug/cypress.config.js +1ms
  cypress:lifecycle:child:run_require_async_child:27942 loaded config from /home/mklinke/dev/cypress-bug/cypress.config.js { e2e: { fixturesFolder: 'src/fixtures', setupNodeEvents: [Function: setupNodeEvents] } } +0ms
  cypress:lifecycle:ProjectConfigIpc loadConfig:reply +673ms
  cypress:lifecycle:ProjectConfigManager config is loaded for file /home/mklinke/dev/cypress-bug/cypress.config.js null +0ms
  cypress:config:browser validating configuration +0ms
  cypress:data-context:sources:GitDataSource this is not a git repo +190ms
  cypress:server:windows creating electron window with options { backgroundColor: 'white', width: 1200, height: 800, minWidth: 597, minHeight: 400, x: null, y: null, type: 'INDEX', devTools: false, trackState: { width: 'appWidth', height: 'appHeight', x: 'appX', y: 'appY', devTools: 'isAppDevToolsOpen' }, onBlur: [Function: onBlur], onFocus: [Function: onFocus], onClose: [Function: onClose], show: true, frame: true, transparent: false, icon: NativeImage { toPNG: [Function: toPNG], toJPEG: [Function: toJPEG], toBitmap: [Function: toBitmap], getBitmap: [Function: getBitmap], getScaleFactors: [Function: getScaleFactors], getNativeHandle: [Function: getNativeHandle], toDataURL: [Function: toDataURL], isEmpty: [Function: isEmpty], getSize: [Function: getSize], setTemplateImage: [Function: setTemplateImage], isTemplateImage: [Function: isTemplateImage], isMacTemplateImage: [Getter/Setter], resize: [Function: resize], crop: [Function: crop], getAspectRatio: [Function: getAspectRatio], addRepresentation: [Function: addRepresentation] }, webPreferences: { contextIsolation: true, partition: null, webSecurity: false, nodeIntegration: false, backgroundThrottling: false }, url: 'http://localhost:41777/__launchpad/index.html', contextMenu: false, recordFrameRate: null, onCrashed: [Function: onCrashed], onNewWindow: [Function: onNewWindow] } +0ms
  cypress:server:browsers:utils found browsers { browsers: [] } +2s
  cypress:server:util:editors user has the following editors: [ { id: 'code', binary: 'code', name: 'Visual Studio Code' }, { id: 'emacs', binary: 'emacs', name: 'Emacs' }, { id: 'vim', binary: 'vim', name: 'Vim' } ] +3s
  cypress:server:saved_state making saved state from /home/mklinke/.cache/Cypress/10.6.0/Cypress/resources/app/packages/server +2s
  cypress:server:saved_state missing project path, looking for project here +0ms
  cypress:server:saved_state state path for global mode +1ms
  cypress:server:appdata path: /home/mklinke/.config/Cypress/cy/production/projects/__global__/state.json +2s
  cypress:server:saved_state full state path /home/mklinke/.config/Cypress/cy/production/projects/__global__/state.json +0ms
  cypress:server:util:editors saved preferred editor: undefined +2ms
  cypress:server:util:editors return available editors: [ { id: 'computer', name: 'File System', binary: 'computer' }, { id: 'code', name: 'Visual Studio Code', binary: 'code' }, { id: 'emacs', name: 'Emacs', binary: 'emacs' }, { id: 'vim', name: 'Vim', binary: 'vim' } ] +1ms
  cypress:server:saved_state making saved state from /home/mklinke/.cache/Cypress/10.6.0/Cypress/resources/app/packages/server +2ms
  cypress:server:saved_state missing project path, looking for project here +0ms
  cypress:server:saved_state state path for global mode +1ms
  cypress:server:appdata path: /home/mklinke/.config/Cypress/cy/production/projects/__global__/state.json +3ms
  cypress:server:saved_state full state path /home/mklinke/.config/Cypress/cy/production/projects/__global__/state.json +0ms
  cypress:graphql:nexusDeferIfNotLoadedPlugin Racing execution for Query.versions +3s
  cypress:network:agent addRequest called { isHttps: true, href: 'https://registry.npmjs.org/cypress' } +0ms
  cypress:network:connect beginning getAddress { hostname: 'registry.npmjs.org', port: 80 } +0ms
  cypress:graphql:nexusDeferIfNotLoadedPlugin Racing execution for Query.cloudViewer +14ms
  cypress:graphql:remoteSchemaWrapped executing: {"operationName":"HeaderBar_HeaderBarQuery_cloudViewer","requestPolicy":"cache-first"} +0ms
  cypress:graphql:nexusDeferIfNotLoadedPlugin Racing Query.cloudViewer resolved immediately +11ms
  cypress:graphql:nexusDeferIfNotLoadedPlugin Query.versions did not resolve immediately +1ms
  cypress:network:connect got addresses { hostname: 'registry.npmjs.org', port: 80, addresses: [ { address: '104.16.24.35', family: 4 }, { address: '104.16.21.35', family: 4 }, { address: '104.16.20.35', family: 4 }, { address: '104.16.23.35', family: 4 }, { address: '104.16.25.35', family: 4 }, { address: '104.16.22.35', family: 4 }, { address: '104.16.27.35', family: 4 }, { address: '104.16.18.35', family: 4 }, { address: '104.16.26.35', family: 4 }, { address: '104.16.19.35', family: 4 }, { address: '104.16.16.35', family: 4 }, { address: '104.16.17.35', family: 4 }, { address: '2606:4700::6810:1323', family: 6 }, { address: '2606:4700::6810:1823', family: 6 }, { address: '2606:4700::6810:1623', family: 6 }, { address: '2606:4700::6810:1123', family: 6 }, { address: '2606:4700::6810:1923', family: 6 }, { address: '2606:4700::6810:1023', family: 6 }, { address: '2606:4700::6810:1b23', family: 6 }, { address: '2606:4700::6810:1223', family: 6 }, { address: '2606:4700::6810:1a23', family: 6 }, { address: '2606:4700::6810:1423', family: 6 }, { address: '2606:4700::6810:1723', family: 6 }, { address: '2606:4700::6810:1523', family: 6 } ] } +16ms
  cypress:network:agent addRequest called { isHttps: true, href: 'https://download.cypress.io/desktop.json' } +33ms
  cypress:network:connect beginning getAddress { hostname: 'download.cypress.io', port: 80 } +15ms
  cypress:network:agent got family { family: 4, href: 'https://registry.npmjs.org/cypress' } +6ms
  cypress:network:connect got addresses { hostname: 'download.cypress.io', port: 80, addresses: [ { address: '172.67.25.250', family: 4 }, { address: '104.22.10.239', family: 4 }, { address: '104.22.11.239', family: 4 }, { address: '2606:4700:10::ac43:19fa', family: 6 }, { address: '2606:4700:10::6816:bef', family: 6 }, { address: '2606:4700:10::6816:aef', family: 6 } ] } +128ms
  cypress:network:agent got family { family: 4, href: 'https://download.cypress.io/desktop.json' } +133ms
  cypress:data-context:sources:VersionsDataSource NPM release dates received { modified: '2022-08-16T20:29:16.517Z' } +0ms
  cypress:data-context:sources:VersionsDataSource retrieving latest version information with headers: { 'Content-Type': 'application/json', 'x-cypress-version': '10.6.0', 'x-os-name': 'linux', 'x-arch': 'x64', 'x-initial-launch': 'true', 'x-logged-in': 'false', 'x-machine-id': 'c0d977d5f87e59870f20168134474e04bfeda5efde77bd18cd15fc1bc7bb37c0' } +111ms
  cypress:data-context:sources:VersionsDataSource latest version information: { name: 'Cypress', version: '10.6.0', packages: { mac: { url: 'https://cdn.cypress.io/desktop/10.6.0/darwin-x64/cypress.zip' }, linux64: { url: 'https://cdn.cypress.io/desktop/10.6.0/linux-x64/cypress.zip' }, darwin: { url: 'https://cdn.cypress.io/desktop/10.6.0/darwin-x64/cypress.zip' }, linux: { url: 'https://cdn.cypress.io/desktop/10.6.0/linux-x64/cypress.zip' }, 'darwin-x64': { url: 'https://cdn.cypress.io/desktop/10.6.0/darwin-x64/cypress.zip' }, 'darwin-arm64': { url: 'https://cdn.cypress.io/desktop/10.6.0/darwin-arm64/cypress.zip' }, 'linux-x64': { url: 'https://cdn.cypress.io/desktop/10.6.0/linux-x64/cypress.zip' }, 'linux-arm64': { url: 'https://cdn.cypress.io/desktop/10.6.0/linux-arm64/cypress.zip' }, 'win32-x64': { url: 'https://cdn.cypress.io/desktop/10.6.0/win32-x64/cypress.zip' } } } +3ms
  cypress:graphql:nexusDeferIfNotLoadedPlugin Racing Query.versions eventually resolved with { latest: { id: '10.6.0', version: '10.6.0', released: '2022-08-16T19:36:37.075Z' }, current: { id: '10.6.0', version: '10.6.0', released: '2022-08-16T19:36:37.075Z' } } HeaderBar_HeaderBarQuery +398ms
  cypress:graphql:nexusDeferIfNotLoadedPlugin Resolving versions for pushFragment with {"latest":{"id":"10.6.0","version":"10.6.0","released":"2022-08-16T19:36:37.075Z"},"current":{"id":"10.6.0","version":"10.6.0","released":"2022-08-16T19:36:37.075Z"}} +3ms
  cypress:data-context:sources:GraphQLDataSource pushFragment value {"data":{"versions":{"current":{"id":"10.6.0","version":"10.6.0","released":"2022-08-16T19:36:37.075Z","__typename":"Version"},"latest":{"id":"10.6.0","version":"10.6.0","released":"2022-08-16T19:36:37.075Z","__typename":"Version"},"__typename":"VersionData"}}} +0ms
  cypress:server:util:process_profiler current & mean memory and CPU usage by process group:
  cypress:server:util:process_profiler ┌─────────┬───────────────────┬──────────────┬──────────────────────────────┬────────────┬────────────────┬──────────┬──────────────┬─────────────┐
  cypress:server:util:process_profiler │ (index) │       group       │ processCount │             pids             │ cpuPercent │ meanCpuPercent │ memRssMb │ meanMemRssMb │ maxMemRssMb │
  cypress:server:util:process_profiler ├─────────┼───────────────────┼──────────────┼──────────────────────────────┼────────────┼────────────────┼──────────┼──────────────┼─────────────┤
  cypress:server:util:process_profiler │    0    │ 'electron-shared' │      4       │ '27651, 27804, 27652, 27956' │     0      │       0        │  246.7   │    170.07    │    246.7    │
  cypress:server:util:process_profiler │    1    │     'cypress'     │      1       │           '27649'            │    5.92    │      2.96      │  174.3   │    153.48    │    174.3    │
  cypress:server:util:process_profiler │    2    │    'launchpad'    │      1       │           '27977'            │     0      │       0        │  108.91  │    108.91    │   108.91    │
  cypress:server:util:process_profiler │    3    │     'plugin'      │      1       │           '27942'            │     0      │       0        │    39    │      39      │     39      │
  cypress:server:util:process_profiler │    4    │      'other'      │      2       │        '28010, 28011'        │     0      │       0        │   3.45   │     3.42     │    3.45     │
  cypress:server:util:process_profiler │    5    │      'TOTAL'      │      9       │             '-'              │    5.92    │      2.96      │  572.36  │    400.93    │   572.36    │
  cypress:server:util:process_profiler └─────────┴───────────────────┴──────────────┴──────────────────────────────┴────────────┴────────────────┴──────────┴──────────────┴─────────────┘ +10s

Other

No response

mike-plummer commented 2 years ago

Hi @mklinke , thanks for opening this issue and the detailed explanation! I have confirmed your issue is indeed a bug introduced during our transition to the new cypress.config.js config format for version 10.0.0. This seems related to #22245 and #22430 , but also identifies that we are improperly labeling the source of config overrides that are applied (baseUrl marked as from 'config' even though the value comes from CLI, fixturesFolder marked as from CLI but value is from config).

github-actions[bot] commented 1 year ago

This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided.

cypress-app-bot commented 1 year ago

This issue has been closed due to inactivity.