Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cypress runner stuck on loading and shows only white screen #26079

Closed
laoneo opened this issue Mar 10, 2023 · 20 comments
Closed

Cypress runner stuck on loading and shows only white screen #26079

laoneo opened this issue Mar 10, 2023 · 20 comments

Comments

@laoneo
Copy link

laoneo commented Mar 10, 2023

Current behavior

When starting cypres within the docker container "cypress/included:12.7.0" and do cypress open, then the cypress window opens but I do only see a white screen.
image

This happens on my asus x515 laptop. When I run the same on my desktop pc it works fine. Here is a link to the docker compose file and here to the endpoint script which executes cypress open command within the container.

Desired behavior

Cypress window opens.

Test code to reproduce

  • Check out the https://github.com/Digital-Peak/DPDocker/tree/cypress on a ubuntu 22 desktop machine
  • Create a simple cypress project with the name ct in the same parent folder
  • Remove all the code, except "cypress open" in the file DPDocker/tests/scripts/exec-joomla-cypress-tests.sh
  • Execute DPDocker/DPDocker/tests/run-joomla-cypress-tests.sh -j ct

Cypress Version

12.0.7

Node version

The one from the cypress dockerdocker container

Operating System

Ubuntu 22

Debug Logs

cypress:cli:cli cli starts with arguments ["/usr/local/bin/node","/usr/local/bin/cypress","open","--project","/e2e"] +0ms
  cypress:cli NODE_OPTIONS is not set +0ms
  cypress:cli:cli program parsing arguments +0ms
  cypress:cli:cli opening Cypress +1ms
  cypress:cli parsed cli options { project: '/e2e' } +71ms
  cypress:cli verifying Cypress app +0ms
  cypress:cli Using CYPRESS_CACHE_FOLDER from environment variable +1ms
  cypress:cli Using CYPRESS_CACHE_FOLDER from environment variable +0ms
  cypress:cli using environment variable CYPRESS_CACHE_FOLDER /root/.cache/Cypress +0ms
  cypress:cli checking environment variables +0ms
  cypress:cli checking if executable exists /root/.cache/Cypress/12.7.0/Cypress/Cypress +2ms
  cypress:cli Binary is executable? : true +1ms
  cypress:cli binaryDir is  /root/.cache/Cypress/12.7.0/Cypress +0ms
  cypress:cli Reading binary package.json from: /root/.cache/Cypress/12.7.0/Cypress/resources/app/package.json +4ms
  cypress:cli Found binary version 12.7.0 installed in: /root/.cache/Cypress/12.7.0/Cypress +4ms
  cypress:cli could not read binary_state.json file at "/root/.cache/Cypress/12.7.0/binary_state.json" +4ms
  cypress:cli {} +0ms
  cypress:cli is Verified ? undefined +1ms
  cypress:cli running binary verification check 12.7.0 +0ms

  cypress:cli clearing out the verified version +3ms
  cypress:cli DISPLAY environment variable is set to :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 Xvfb? false +1ms
  cypress:cli spawning, should retry on display problem? true +0ms
  cypress:cli disabling Electron sandbox +0ms
  cypress:cli running smoke test +0ms
  cypress:cli using Cypress executable /root/.cache/Cypress/12.7.0/Cypress/Cypress +0ms
  cypress:cli smoke test command: /root/.cache/Cypress/12.7.0/Cypress/Cypress --no-sandbox --smoke-test --ping=559 +0ms
  cypress:cli smoke test timeout 30000 ms +0ms
  cypress:cli smoke test stdout "It looks like you are running the Cypress binary directly.

This is not the recommended approach, and Cypress may not work correctly.

Please install the cypress NPM package and follow the instructions here:

https://on.cypress.io/installing-cypress
559" +544ms
  cypress:cli write verified: true +962ms
  cypress:cli could not read binary_state.json file at "/root/.cache/Cypress/12.
  cypress:cli opening from options {"project":"/e2e"} +0ms
  cypress:cli command line arguments ["--project","/e2e"] +0ms
  cypress:cli DISPLAY environment variable is set to :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 ... +2s
  cypress:cli Using CYPRESS_CACHE_FOLDER from environment variable +2s
  cypress:cli Using CYPRESS_CACHE_FOLDER from environment variable +0ms
  cypress:cli using environment variable CYPRESS_CACHE_FOLDER /root/.cache/Cypress +2ms
  cypress:cli needs to start own Xvfb? false +0ms
  cypress:cli spawning, should retry on display problem? true +1ms
  cypress:cli passing DISPLAY :0 +4ms
  cypress:cli spawn args [ '--no-sandbox', '--', '--project', '/e2e', '--cwd', '/usr/src/Projects/cms4', '--userNodePath', '/usr/local/bin/node', '--userNodeVersion', '18.14.1' ] { detached: false, stdio: [ 'inherit', 'inherit', 'pipe' ] } +0ms
  cypress:cli spawning Cypress with executable: /root/.cache/Cypress/12.7.0/Cypress/Cypress +1ms
  cypress:cli piping child STDERR to process STDERR +2ms
  cypress:snapshot:info Caching 4285, defining 5386 modules! Using cache +0ms
  cypress:snapshot:debug initializing packherd require +0ms
  cypress:server:appdata path: /root/.config/Cypress/cy/production/browsers +0ms
  cypress:server:cypress starting cypress with argv [ '/root/.cache/Cypress/12.7.0/Cypress/Cypress', '--no-sandbox', '--', '--project', '/e2e', '--cwd', '/usr/src/Projects/cms4', '--userNodePath', '/usr/local/bin/node', '--userNodeVersion', '18.14.1' ] +0ms
  cypress:server:args argv array: [ '/root/.cache/Cypress/12.7.0/Cypress/Cypress', '--no-sandbox', '--project', '/e2e', '--cwd', '/usr/src/Projects/cms4', '--userNodePath', '/usr/local/bin/node', '--userNodeVersion', '18.14.1' ] +0ms
  cypress:server:args parsed argv options { options: { _: [ '/root/.cache/Cypress/12.7.0/Cypress/Cypress' ], sandbox: false, project: '/e2e', cwd: '/usr/src/Projects/cms4', userNodePath: '/usr/local/bin/node', userNodeVersion: '18.14.1' } } +1ms
  cypress:server:args argv parsed: { _: [ '/root/.cache/Cypress/12.7.0/Cypress/Cypress' ], sandbox: false, project: '/e2e', cwd: '/usr/src/Projects/cms4', userNodePath: '/usr/local/bin/node', userNodeVersion: '18.14.1', invokedFromCli: true } +3ms
  cypress:server:util:proxy found proxy environment variables {} +0ms
  cypress:server:args options { _: [ '/root/.cache/Cypress/12.7.0/Cypress/Cypress' ], sandbox: false, project: '/e2e', cwd: '/usr/src/Projects/cms4', userNodePath: '/usr/local/bin/node', userNodeVersion: '18.14.1', invokedFromCli: true, config: {} } +2ms
  cypress:server:args argv options: { _: [ '/root/.cache/Cypress/12.7.0/Cypress/Cypress' ], sandbox: false, project: '/e2e', cwd: '/usr/src/Projects/cms4', userNodePath: '/usr/local/bin/node', userNodeVersion: '18.14.1', invokedFromCli: true, config: {}, projectRoot: '/e2e' } +0ms
  cypress:server:cypress from argv [ '/root/.cache/Cypress/12.7.0/Cypress/Cypress', '--no-sandbox', '--project', '/e2e', '--cwd', '/usr/src/Projects/cms4', '--userNodePath', '/usr/local/bin/node', '--userNodeVersion', '18.14.1' ] got options { _: [ '/root/.cache/Cypress/12.7.0/Cypress/Cypress' ], sandbox: false, project: '/e2e', cwd: '/usr/src/Projects/cms4', userNodePath: '/usr/local/bin/node', userNodeVersion: '18.14.1', invokedFromCli: true, config: {}, projectRoot: '/e2e' } +8ms
Gtk-Message: 16:36:02.624: Failed to load module "canberra-gtk-module"
Gtk-Message: 16:36:02.624: Failed to load module "canberra-gtk-module"
  cypress:server:appdata path: /root/.config/Cypress/cy/production +87ms
[361:0310/163602.679940:ERROR:angle_platform_impl.cc(43)] DisplayVkXcb.cpp:59 (initialize): xcb_connect() failed, error 1
ERR: DisplayVkXcb.cpp:59 (initialize): xcb_connect() failed, error 1
[361:0310/163602.680100:ERROR:angle_platform_impl.cc(43)] Display.cpp:997 (initialize): ANGLE Display::initialize error 12289: Not initialized.
ERR: Display.cpp:997 (initialize): ANGLE Display::initialize error 12289: Not initialized.
[361:0310/163602.680175:ERROR:gl_display.cc(508)] EGL Driver message (Critical) eglInitialize: Not initialized.
[361:0310/163602.680218:ERROR:gl_display.cc(920)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED
[361:0310/163602.680272:ERROR:gl_ozone_egl.cc(23)] GLDisplayEGL::Initialize failed.
[361:0310/163602.681442:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[208:0310/163602.690874:WARNING:bluez_dbus_manager.cc(247)] Floss manager not present, cannot set Floss enable/disable.
  cypress:server:util:process_profiler error running process profiler: Error: Expected DataContext to already have been set via setCtx. If this is a testing context, make sure you are calling "setCtx" in a before hook, otherwise check the application flow.  at m (<embedded>:4924:89919) at Object.a (<embedded>:5154:291700) at <embedded>:5160:28990 at r (<embedded>:5160:29020) at a (<embedded>:5160:29385) at Ls (<embedded>:3169:5294) at Function.Ai [as map] (<embedded>:3169:40855) at m (<embedded>:3169:68047) at yi (<embedded>:3169:40055) at <embedded>:3169:25750 at Bs (<embedded>:3169:5476) at jt (<embedded>:3169:25716) at Jo.value (<embedded>:3169:69776) at jt (<embedded>:3169:25707) at zo.toJSON.zo.valueOf.zo.value (<embedded>:3169:70799) at a (<embedded>:5160:29462) at h (<embedded>:5160:29478) +0ms
  cypress:server:cypress starting in mode interactive with options { _: [ '/root/.cache/Cypress/12.7.0/Cypress/Cypress' ], sandbox: false, project: '/e2e', cwd: '/usr/src/Projects/cms4', userNodePath: '/usr/local/bin/node', userNodeVersion: '18.14.1', invokedFromCli: true, config: {}, projectRoot: '/e2e' } +95ms
  cypress:server:cypress running Electron currently +1ms
[378:0310/163602.696343:ERROR:angle_platform_impl.cc(43)] DisplayVkXcb.cpp:59 (initialize): xcb_connect() failed, error 1
ERR: DisplayVkXcb.cpp:59 (initialize): xcb_connect() failed, error 1
[378:0310/163602.696431:ERROR:angle_platform_impl.cc(43)] Display.cpp:997 (initialize): ANGLE Display::initialize error 12289: Not initialized.
ERR: Display.cpp:997 (initialize): ANGLE Display::initialize error 12289: Not initialized.
[378:0310/163602.696464:ERROR:gl_display.cc(508)] EGL Driver message (Critical) eglInitialize: Not initialized.
[378:0310/163602.696486:ERROR:gl_display.cc(920)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED
[378:0310/163602.696518:ERROR:gl_ozone_egl.cc(23)] GLDisplayEGL::Initialize failed.
[378:0310/163602.697278:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
  cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for Query.cloudLatestRunUpdateSpecData +0ms
  cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for Query.cloudProjectBySlug +0ms
  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.pollingIntervals +0ms
  cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for Query.versions +1ms
  cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for CurrentProject.cloudProject +1ms
  cypress:graphql:nexusDeferIfNotLoadedPlugin Adding nexusDeferIfNotLoadedPlugin for RemoteFetchableCloudProjectResult.data +9ms
  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+)/im, binary: [ 'edge', 'microsoft-edge' ], minSupportedVersion: 79 }, { name: 'edge', family: 'chromium', channel: 'canary', displayName: 'Edge Canary', versionRegex: /Microsoft Edge.+?(\S*(?= canary)|(?<=canary )\S*)/im, binary: [ 'edge-canary', 'microsoft-edge-canary' ], minSupportedVersion: 79 }, { name: 'edge', family: 'chromium', channel: 'beta', displayName: 'Edge Beta', versionRegex: /Microsoft Edge.+?(\S*(?= beta)|(?<=beta )\S*)/im, binary: [ 'edge-beta', 'microsoft-edge-beta' ], minSupportedVersion: 79 }, { name: 'edge', family: 'chromium', channel: 'dev', displayName: 'Edge Dev', versionRegex: /Microsoft Edge.+?(\S*(?= dev)|(?<=dev )\S*)/im, binary: [ 'edge-dev', 'microsoft-edge-dev' ], minSupportedVersion: 79 } ] +0ms
  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: - /root/.cache/Cypress/12.7.0/Cypress/resources/app/packages/server/lib/browsers/utils.ts     at Module._resolveFilename (node:internal/modules/cjs/loader:940:15)     at n._resolveFilename (node:electron/js2c/browser_init:249:1105)     at resolve (node:internal/modules/cjs/helpers:108:19) at Function.resolve (evalmachine.<anonymous>:1:733924) at P (<embedded>:5154:307730) at Object.N [as getBrowsers] (<embedded>:5154:308565) at b.machineBrowsers (<embedded>:4692:436728) at E._setCurrentProject (<embedded>:4924:35610) at new E (<embedded>:4924:28856) at new N (<embedded>:4924:81094) at P (<embedded>:5226:437758) at s.exports (<embedded>:5226:530099) at <embedded>:5233:2607 at tryCatcher (/root/.cache/Cypress/12.7.0/Cypress/resources/app/node_modules/bluebird/js/release/util.js:16:23) at Function.<anonymous> (/root/.cache/Cypress/12.7.0/Cypress/resources/app/node_modules/bluebird/js/release/method.js:39:29) at Object.runElectron (<embedded>:5233:2377) at Object.startInMode (<embedded>:5233:5205) at <embedded>:5233:3945 at tryCatcher (/root/.cache/Cypress/12.7.0/Cypress/resources/app/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/root/.cache/Cypress/12.7.0/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:512:31) at Promise._settlePromise (/root/.cache/Cypress/12.7.0/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:569:18) at Promise._settlePromise0 (/root/.cache/Cypress/12.7.0/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:614:10) at Promise._settlePromises (/root/.cache/Cypress/12.7.0/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:694:18) at Promise._fulfill (/root/.cache/Cypress/12.7.0/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:638:18) at Promise._settlePromise (/root/.cache/Cypress/12.7.0/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:582:21) at Promise._settlePromise0 (/root/.cache/Cypress/12.7.0/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:614:10) at Promise._settlePromises (/root/.cache/Cypress/12.7.0/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:694:18) at Promise._fulfill (/root/.cache/Cypress/12.7.0/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:638:18) at Promise._settlePromise (/root/.cache/Cypress/12.7.0/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:582:21) at Promise._settlePromise0 (/root/.cache/Cypress/12.7.0/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:614:10) at Promise._settlePromises (/root/.cache/Cypress/12.7.0/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:694:18) at Promise._fulfill (/root/.cache/Cypress/12.7.0/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:638:18) at PromiseArray._resolve (/root/.cache/Cypress/12.7.0/Cypress/resources/app/node_modules/bluebird/js/release/promise_array.js:126:19) at PromiseArray._promiseFulfilled (/root/.cache/Cypress/12.7.0/Cypress/resources/app/node_modules/bluebird/js/release/promise_array.js:144:14) at Promise._settlePromise (/root/.cache/Cypress/12.7.0/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:574:26) at Promise._settlePromise0 (/root/.cache/Cypress/12.7.0/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:614:10) at Promise._settlePromises (/root/.cache/Cypress/12.7.0/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:694:18) at Promise._fulfill (/root/.cache/Cypress/12.7.0/Cypress/resources/app/node_modules/bluebird/js/release/promise.js:638:18) at /root/.cache/Cypress/12.7.0/Cypress/resources/app/node_modules/bluebird/js/release/nodeback.js:42:21 at <embedded>:1955:88964 { code: 'MODULE_NOT_FOUND', requireStack: [ '/root/.cache/Cypress/12.7.0/Cypress/resources/app/packages/server/lib/browsers/utils.ts' ] } } +2ms
  cypress:data-context:sources:GitDataSource config: { isRunMode: false, projectRoot: '/e2e', onError: [Function (anonymous)], onBranchChange: [Function: onBranchChange], onGitInfoChange: [Function: onGitInfoChange], onGitLogChange: [AsyncFunction: onGitLogChange] } +0ms
  cypress:data-context:sources:GitDataSource Refreshing git data +6ms
  cypress:scaffold-config:detect Checking for default Cypress config file +0ms
  cypress:scaffold-config:detect Detected cypress.config.js - using JS +0ms
  cypress:server:appdata path: /root/.config/Cypress/cy/production/cache +110ms
  cypress:server:util:editors get user editor +0ms
  cypress:server:saved_state making saved state from /root/.cache/Cypress/12.7.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: '/root/.cache/Cypress/12.7.0/Cypress/resources/app/node_modules/@packages/server/lib/plugins/child/require_async_child.js', configProcessArgs: [ '--projectRoot', '/e2e', '--file', '/e2e/cypress.config.js' ], childOptions: { stdio: 'pipe', cwd: '/e2e', execPath: '/usr/local/bin/node' } } +0ms
  cypress:lifecycle:ProjectConfigIpc no typescript found, just use regular Node.js +0ms
  cypress:lifecycle:ProjectConfigIpc trigger the load of the file +6ms
  cypress:server:performance-benchmark elapsed time at open mode ready: 408.871ms +0ms
  cypress:server:saved_state making saved state from /root/.cache/Cypress/12.7.0/Cypress/resources/app/packages/server +40ms
  cypress:server:saved_state for project path /e2e +0ms
  cypress:server:saved_state state path for project /e2e +0ms
  cypress:server:appdata path: /root/.config/Cypress/cy/production/projects/e2e-81f6a8af1f0d55c08160ab5e6fafdc0e/state.json +61ms
  cypress:server:saved_state full state path /root/.config/Cypress/cy/production/projects/e2e-81f6a8af1f0d55c08160ab5e6fafdc0e/state.json +18ms
  cypress:server:saved_state making new state file around /root/.config/Cypress/cy/production/projects/e2e-81f6a8af1f0d55c08160ab5e6fafdc0e/state.json +0ms
[407:0310/163602.849945:ERROR:angle_platform_impl.cc(43)] DisplayVkXcb.cpp:59 (initialize): xcb_connect() failed, error 1
ERR: DisplayVkXcb.cpp:59 (initialize): xcb_connect() failed, error 1
[407:0310/163602.850021:ERROR:angle_platform_impl.cc(43)] Display.cpp:997 (initialize): ANGLE Display::initialize error 12289: Not initialized.
ERR: Display.cpp:997 (initialize): ANGLE Display::initialize error 12289: Not initialized.
[407:0310/163602.850054:ERROR:gl_display.cc(508)] EGL Driver message (Critical) eglInitialize: Not initialized.
  cypress:data-context:sources:GitDataSource Skipping branch watching because a git error was reported +75ms
[407:0310/163602.850078:ERROR:gl_display.cc(920)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED
[407:0310/163602.850107:ERROR:gl_ozone_egl.cc(23)] GLDisplayEGL::Initialize failed.
[407:0310/163602.852888:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
  cypress:server:saved_state state path for global mode +16ms
  cypress:server:appdata path: /root/.config/Cypress/cy/production/projects/__global__/state.json +16ms
  cypress:server:saved_state full state path /root/.config/Cypress/cy/production/projects/__global__/state.json +0ms
  cypress:server:saved_state making new state file around /root/.config/Cypress/cy/production/projects/__global__/state.json +0ms
  cypress:data-context:sources:GitDataSource this is not a git repo +9ms
[415:0310/163602.863551:ERROR:angle_platform_impl.cc(43)] DisplayVkXcb.cpp:59 (initialize): xcb_connect() failed, error 1
ERR: DisplayVkXcb.cpp:59 (initialize): xcb_connect() failed, error 1
[415:0310/163602.863624:ERROR:angle_platform_impl.cc(43)] Display.cpp:997 (initialize): ANGLE Display::initialize error 12289: Not initialized.
ERR: Display.cpp:997 (initialize): ANGLE Display::initialize error 12289: Not initialized.
[415:0310/163602.863658:ERROR:gl_display.cc(508)] EGL Driver message (Critical) eglInitialize: Not initialized.
[415:0310/163602.863681:ERROR:gl_display.cc(920)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED
[415:0310/163602.863712:ERROR:gl_ozone_egl.cc(23)] GLDisplayEGL::Initialize failed.
[415:0310/163602.864917:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
  cypress:server:windows creating electron window with options { url: 'http://localhost:34715/__launchpad/index.html', 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 }, contextMenu: false, recordFrameRate: null, onCrashed: [Function: onCrashed], onNewWindow: [Function: onNewWindow] } +0ms
[431:0310/163602.886795:ERROR:angle_platform_impl.cc(43)] DisplayVkXcb.cpp:59 (initialize): xcb_connect() failed, error 1
ERR: DisplayVkXcb.cpp:59 (initialize): xcb_connect() failed, error 1
[431:0310/163602.886904:ERROR:angle_platform_impl.cc(43)] Display.cpp:997 (initialize): ANGLE Display::initialize error 12289: Not initialized.
ERR: Display.cpp:997 (initialize): ANGLE Display::initialize error 12289: Not initialized.
[431:0310/163602.886952:ERROR:gl_display.cc(508)] EGL Driver message (Critical) eglInitialize: Not initialized.
[431:0310/163602.886980:ERROR:gl_display.cc(920)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED
[431:0310/163602.887016:ERROR:gl_ozone_egl.cc(23)] GLDisplayEGL::Initialize failed.
[431:0310/163602.891392:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
  cypress:lifecycle:child:run_require_async_child:386 configFile: /e2e/cypress.config.js +0ms
  cypress:lifecycle:child:run_require_async_child:386 projectRoot: /e2e +1ms
[461:0310/163602.917595:WARNING:vaapi_wrapper.cc(794)] VAAPI video acceleration not available for disabled
[461:0310/163602.917992:ERROR:gpu_init.cc(521)] Passthrough is not supported, GL is disabled, ANGLE is 
[461:0310/163602.926328:ERROR:x11_software_bitmap_presenter.cc(142)] XGetWindowAttributes failed for window 27262979
  cypress:lifecycle:child:run_require_async_child:386 try loading /e2e/cypress.config.js +23ms
  cypress:lifecycle:child:run_require_async_child:386 Loading file /e2e/cypress.config.js +0ms
  cypress:server:util:editors user has the following editors: [] +236ms
  cypress:server:saved_state making saved state from /root/.cache/Cypress/12.7.0/Cypress/resources/app/packages/server +161ms
  cypress:server:saved_state missing project path, looking for project here +0ms
  cypress:server:saved_state state path for global mode +3ms
  cypress:server:appdata path: /root/.config/Cypress/cy/production/projects/__global__/state.json +164ms
  cypress:server:saved_state full state path /root/.config/Cypress/cy/production/projects/__global__/state.json +0ms
  cypress:server:util:editors saved preferred editor: undefined +4ms
  cypress:server:util:editors return available editors: [ { id: 'computer', name: 'File System', binary: 'computer' } ] +0ms
  cypress:server:saved_state making saved state from /root/.cache/Cypress/12.7.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 +4ms
  cypress:server:appdata path: /root/.config/Cypress/cy/production/projects/__global__/state.json +6ms
  cypress:server:saved_state full state path /root/.config/Cypress/cy/production/projects/__global__/state.json +0ms
  cypress:cli exporting Cypress module interface +0ms
  cypress:launcher:linux Could not extract version from stdout using regex: { stdout: 'Mozilla Firefox 109.0', versionRegex: /^Mozilla Firefox (\S+b\S*)$/m } +0ms
  cypress:lifecycle:child:run_require_async_child:386 loaded config file /e2e/cypress.config.js +241ms
  cypress:lifecycle:child:run_require_async_child:386 loaded config from /e2e/cypress.config.js { fixturesFolder: 'tests/cypress/fixtures', videosFolder: 'tests/cypress/output/videos', screenshotsFolder: 'tests/cypress/output/screenshots', viewportHeight: 1000, viewportWidth: 1200, e2e: { setupNodeEvents: [Function: setupNodeEvents], specPattern: [ 'tests/cypress/integration/install/*.cy.{js,jsx,ts,tsx}', 'tests/cypress/integration/administrator/**/*.cy.{js,jsx,ts,tsx}', 'tests/cypress/integration/site/**/*.cy.{js,jsx,ts,tsx}' ], supportFile: 'tests/cypress/support/index.js', scrollBehavior: 'center', browser: 'firefox', screenshotOnRunFailure: true, video: false }, env: { sitename: 'Joomla CMS Test', name: 'Admin', email: 'admin@example.com', username: 'admin', password: 'admin', db_type: 'MySQLi', db_host: 'mysql-test', db_name: 'joomla_cms4', db_user: 'root', db_password: 'root', db_prefix: 'j_' } } +0ms
  cypress:lifecycle:ProjectConfigIpc loadConfig:reply +342ms
  cypress:lifecycle:ProjectConfigManager config is loaded for file /e2e/cypress.config.js null +0ms
  cypress:config:browser validating configuration {
  fixturesFolder: 'tests/cypress/fixtures',
  videosFolder: 'tests/cypress/output/videos',
  screenshotsFolder: 'tests/cypress/output/screenshots',
  viewportHeight: 1000,
  viewportWidth: 1200,
  e2e: {
    setupNodeEvents: '[Function setupNodeEvents]',
    specPattern: [
      'tests/cypress/integration/install/*.cy.{js,jsx,ts,tsx}',
      'tests/cypress/integration/administrator/**/*.cy.{js,jsx,ts,tsx}',
      'tests/cypress/integration/site/**/*.cy.{js,jsx,ts,tsx}'
    ],
    supportFile: 'tests/cypress/support/index.js',
    scrollBehavior: 'center',
    browser: 'firefox',
    screenshotOnRunFailure: true,
    video: false
  },
  env: {
    sitename: 'Joomla CMS Test',
    name: 'Admin',
    email: 'admin@example.com',
    username: 'admin',
    password: 'admin',
    db_type: 'MySQLi',
    db_host: 'mysql-test',
    db_name: 'joomla_cms4',
    db_user: 'root',
    db_password: 'root',
    db_prefix: 'j_'
  }
} +0ms
  cypress:server:browsers:utils found browsers { browsers: [ { name: 'chrome', family: 'chromium', channel: 'stable', displayName: 'Chrome', version: '110.0.5481.96', path: 'google-chrome', minSupportedVersion: 64, majorVersion: '110' }, { name: 'firefox', family: 'firefox', channel: 'stable', displayName: 'Firefox', version: '109.0', path: 'firefox', minSupportedVersion: 86, majorVersion: '109' }, { name: 'edge', family: 'chromium', channel: 'stable', displayName: 'Edge', version: '110.0.1587.41', path: 'edge', minSupportedVersion: 79, majorVersion: '110' } ] } +424ms
  cypress:graphql:nexusDeferIfNotLoadedPlugin Racing execution for CurrentProject.cloudProject +554ms
  cypress:graphql:nexusDeferIfNotLoadedPlugin Racing execution for Query.versions +0ms
  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 +16ms
  cypress:graphql:remoteSchemaWrapped executing: {"operationName":"HeaderBar_HeaderBarQuery_cloudViewer","requestPolicy":"cache-first"} +0ms
  cypress:graphql:nexusDeferIfNotLoadedPlugin Racing Query.cloudViewer resolved immediately +9ms
  cypress:graphql:nexusDeferIfNotLoadedPlugin CurrentProject.cloudProject did not resolve immediately +6ms
  cypress:graphql:nexusDeferIfNotLoadedPlugin Query.versions did not resolve immediately +0ms
  cypress:config:browser validating configuration {} +183ms
  cypress:config:browser validating configuration {} +2ms
  cypress:graphql:nexusDeferIfNotLoadedPlugin Racing CurrentProject.cloudProject eventually resolved with null HeaderBar_HeaderBarQuery +2ms
  cypress:graphql:nexusDeferIfNotLoadedPlugin Remote execution error TypeError: Cannot read properties of null (reading 'id') at k.pushResult (<embedded>:4692:528577) at <embedded>:4930:95557 +0ms
  cypress:network:agent addRequest called { isHttps: true, href: 'https://download.cypress.io/desktop.json' } +28ms
  cypress:network:connect beginning getAddress { hostname: 'download.cypress.io', port: 80 } +27ms
  cypress:server:saved_state making saved state from /root/.cache/Cypress/12.7.0/Cypress/resources/app/packages/server +343ms
  cypress:server:saved_state missing project path, looking for project here +0ms
  cypress:server:saved_state state path for global mode +2ms
  cypress:server:appdata path: /root/.config/Cypress/cy/production/projects/__global__/state.json +345ms
  cypress:server:saved_state full state path /root/.config/Cypress/cy/production/projects/__global__/state.json +0ms
  cypress:graphql:nexusDeferIfNotLoadedPlugin Racing execution for Query.cloudViewer +64ms
  cypress:graphql:remoteSchemaWrapped executing: {"operationName":"CloudViewerAndProject_RequiredData_cloudViewer","requestPolicy":"cache-first"} +73ms
  cypress:graphql:nexusDeferIfNotLoadedPlugin Racing execution for CurrentProject.cloudProject +1ms
  cypress:graphql:nexusDeferIfNotLoadedPlugin Racing Query.cloudViewer resolved immediately +0ms
  cypress:config:browser validating configuration {} +65ms
  cypress:graphql:nexusDeferIfNotLoadedPlugin Racing CurrentProject.cloudProject resolved immediately +0ms
  cypress:network:connect got addresses { hostname: 'download.cypress.io', port: 80, addresses: [ { address: '104.22.10.239', family: 4 }, { address: '172.67.25.250', family: 4 }, { address: '104.22.11.239', family: 4 }, { address: '2606:4700:10::6816:aef', family: 6 }, { address: '2606:4700:10::ac43:19fa', family: 6 }, { address: '2606:4700:10::6816:bef', family: 6 } ] } +219ms
  cypress:network:connect got addresses { hostname: 'registry.npmjs.org', port: 80, addresses: [ { address: '104.16.27.35', family: 4 }, { address: '104.16.26.35', family: 4 }, { address: '104.16.25.35', family: 4 }, { address: '104.16.17.35', family: 4 }, { address: '104.16.20.35', family: 4 }, { address: '104.16.21.35', family: 4 }, { address: '104.16.22.35', family: 4 }, { address: '104.16.24.35', family: 4 }, { address: '104.16.16.35', family: 4 }, { address: '104.16.18.35', family: 4 }, { address: '104.16.23.35', family: 4 }, { address: '104.16.19.35', family: 4 }, { address: '2606:4700::6810:1323', family: 6 }, { address: '2606:4700::6810:1623', family: 6 }, { address: '2606:4700::6810:1a23', family: 6 }, { address: '2606:4700::6810:1823', family: 6 }, { address: '2606:4700::6810:1523', family: 6 }, { address: '2606:4700::6810:1223', family: 6 }, { address: '2606:4700::6810:1723', family: 6 }, { address: '2606:4700::6810:1423', family: 6 }, { address: '2606:4700::6810:1123', family: 6 }, { address: '2606:4700::6810:1023', family: 6 }, { address: '2606:4700::6810:1b23', family: 6 }, { address: '2606:4700::6810:1923', family: 6 } ] } +4ms
  cypress:network:agent got family { family: 4, href: 'https://download.cypress.io/desktop.json' } +277ms
  cypress:network:agent got family { family: 4, href: 'https://registry.npmjs.org/cypress' } +17ms
  cypress:data-context:sources:VersionsDataSource retrieving latest version information with headers: { 'Content-Type': 'application/json', 'x-cypress-version': '12.7.0', 'x-os-name': 'linux', 'x-arch': 'x64', 'x-initial-launch': 'true', 'x-logged-in': 'false', 'x-machine-id': 'b0646397eb86838df849372df2964630b8c72fc1214ebff00249a62d26ebc564' } +0ms
  cypress:data-context:sources:VersionsDataSource latest version information: { name: 'Cypress', version: '12.7.0', packages: { mac: { url: 'https://cdn.cypress.io/desktop/12.7.0/darwin-x64/cypress.zip' }, linux64: { url: 'https://cdn.cypress.io/desktop/12.7.0/linux-x64/cypress.zip' }, darwin: { url: 'https://cdn.cypress.io/desktop/12.7.0/darwin-x64/cypress.zip' }, linux: { url: 'https://cdn.cypress.io/desktop/12.7.0/linux-x64/cypress.zip' }, 'darwin-x64': { url: 'https://cdn.cypress.io/desktop/12.7.0/darwin-x64/cypress.zip' }, 'darwin-arm64': { url: 'https://cdn.cypress.io/desktop/12.7.0/darwin-arm64/cypress.zip' }, 'linux-x64': { url: 'https://cdn.cypress.io/desktop/12.7.0/linux-x64/cypress.zip' }, 'linux-arm64': { url: 'https://cdn.cypress.io/desktop/12.7.0/linux-arm64/cypress.zip' }, 'win32-x64': { url: 'https://cdn.cypress.io/desktop/12.7.0/win32-x64/cypress.zip' } } } +3ms
  cypress:data-context:sources:VersionsDataSource NPM release dates received { modified: '2023-02-25T02:43:19.850Z' } +7ms
  cypress:graphql:nexusDeferIfNotLoadedPlugin Racing Query.versions eventually resolved with { latest: { id: '12.7.0', version: '12.7.0', released: '2023-02-25T02:08:36.181Z' }, current: { id: '12.7.0', version: '12.7.0', released: '2023-02-25T02:08:36.181Z' } } HeaderBar_HeaderBarQuery +809ms
  cypress:graphql:nexusDeferIfNotLoadedPlugin Resolving versions for pushFragment with {"latest":{"id":"12.7.0","version":"12.7.0","released":"2023-02-25T02:08:36.181Z"},"current":{"id":"12.7.0","version":"12.7.0","released":"2023-02-25T02:08:36.181Z"}} +0ms
  cypress:data-context:sources:GraphQLDataSource pushFragment value {"data":{"versions":{"current":{"id":"12.7.0","version":"12.7.0","released":"2023-02-25T02:08:36.181Z","__typename":"Version"},"latest":{"id":"12.7.0","version":"12.7.0","released":"2023-02-25T02:08:36.181Z","__typename":"Version"},"__typename":"VersionData"}}} +0ms

Other

As mentioned, it works on the desktop but not on the laptop.

@Yangbin-v
Copy link

It happen to me too, in Mac.

@mjhenkes mjhenkes assigned AtofStryker and unassigned mjhenkes Mar 14, 2023
@AtofStryker
Copy link
Contributor

Hi @laoneo. Thank you for opening an issue. Would you help me in getting a simpler way to reproduce this issue, by maybe using a small npm project or using cypress-test-tiny and making it possible to run the docker image directly from the cmd somewhat like this:

 docker run -it \
  -e DISPLAY \
  -v $PWD:/e2e \
  -v ~/.Xauthority:/root/.Xauthority:rw \
  -v /tmp/.X11-unix:/tmp/.X11-unix \
  -w /e2e \
  --entrypoint cypress \
  cypress/included:12.8.1 open --project .

is this an option to reproduce this without the larger joomla steps?

@laoneo
Copy link
Author

laoneo commented Mar 21, 2023

Cloned the tiny project, changed into the project and run the command provided by you. Same result, on desktop it works but not on the laptop. Is there nothing suspicious in the log I provided to narrow down the issue? Looks like some errors do happen, but I have no clue what they mean.

@AtofStryker
Copy link
Contributor

@laoneo would you be able to send those errors here? It sounds like we are going to have difficulty reproducing this issue.

@laoneo
Copy link
Author

laoneo commented Mar 22, 2023

It's in the pr description in the debug log, pasting here an excerp:

Gtk-Message: 16:36:02.624: Failed to load module "canberra-gtk-module"
Gtk-Message: 16:36:02.624: Failed to load module "canberra-gtk-module"
  cypress:server:appdata path: /root/.config/Cypress/cy/production +87ms
[361:0310/163602.679940:ERROR:angle_platform_impl.cc(43)] DisplayVkXcb.cpp:59 (initialize): xcb_connect() failed, error 1
ERR: DisplayVkXcb.cpp:59 (initialize): xcb_connect() failed, error 1
[361:0310/163602.680100:ERROR:angle_platform_impl.cc(43)] Display.cpp:997 (initialize): ANGLE Display::initialize error 12289: Not initialized.
ERR: Display.cpp:997 (initialize): ANGLE Display::initialize error 12289: Not initialized.
[361:0310/163602.680175:ERROR:gl_display.cc(508)] EGL Driver message (Critical) eglInitialize: Not initialized.
[361:0310/163602.680218:ERROR:gl_display.cc(920)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED
[361:0310/163602.680272:ERROR:gl_ozone_egl.cc(23)] GLDisplayEGL::Initialize failed.
[361:0310/163602.681442:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[208:0310/163602.690874:WARNING:bluez_dbus_manager.cc(247)] Floss manager not present, cannot set Floss enable/disable.
  cypress:server:util:process_profiler error running process profiler: Error: Expected DataContext to already have been set via setCtx. If this is a testing context, make sure you are calling "setCtx" in a before hook, otherwise check the application flow.  at m (<embedded>:4924:89919) at Object.a (<embedded>:5154:291700) at <embedded>:5160:28990 at r (<embedded>:5160:29020) at a (<embedded>:5160:29385) at Ls (<embedded>:3169:5294) at Function.Ai [as map] (<embedded>:3169:40855) at m (<embedded>:3169:68047) at yi (<embedded>:3169:40055) at <embedded>:3169:25750 at Bs (<embedded>:3169:5476) at jt (<embedded>:3169:25716) at Jo.value (<embedded>:3169:69776) at jt (<embedded>:3169:25707) at zo.toJSON.zo.valueOf.zo.value (<embedded>:3169:70799) at a (<embedded>:5160:29462) at h (<embedded>:5160:29478) +0ms
  cypress:server:cypress starting in mode interactive with options { _: [ '/root/.cache/Cypress/12.7.0/Cypress/Cypress' ], sandbox: false, project: '/e2e', cwd: '/usr/src/Projects/cms4', userNodePath: '/usr/local/bin/node', userNodeVersion: '18.14.1', invokedFromCli: true, config: {}, projectRoot: '/e2e' } +95ms
  cypress:server:cypress running Electron currently +1ms
[378:0310/163602.696343:ERROR:angle_platform_impl.cc(43)] DisplayVkXcb.cpp:59 (initialize): xcb_connect() failed, error 1
ERR: DisplayVkXcb.cpp:59 (initialize): xcb_connect() failed, error 1
[378:0310/163602.696431:ERROR:angle_platform_impl.cc(43)] Display.cpp:997 (initialize): ANGLE Display::initialize error 12289: Not initialized.
ERR: Display.cpp:997 (initialize): ANGLE Display::initialize error 12289: Not initialized.
[378:0310/163602.696464:ERROR:gl_display.cc(508)] EGL Driver message (Critical) eglInitialize: Not initialized.
[378:0310/163602.696486:ERROR:gl_display.cc(920)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED
[378:0310/163602.696518:ERROR:gl_ozone_egl.cc(23)] GLDisplayEGL::Initialize failed.

@AtofStryker
Copy link
Contributor

Have you verified the X11 server is running as well as xvfb to attach display?

Possibly related to electron/electron#36524

@laoneo
Copy link
Author

laoneo commented Mar 23, 2023

Yes it is, otherwise the window would not open at all. But the cypress window does open, it is just empty as you can see in my screenshot.

@AtofStryker
Copy link
Contributor

@laoneo makes sense. Out of curiosity, does it work on cypress 10.9.0?

@laoneo
Copy link
Author

laoneo commented Mar 23, 2023

When you mean to start docker with the 10.9.0 version, then nope, same result, the empty window.

@AtofStryker
Copy link
Contributor

Hmmm, I'm not too sure where to go with this issue. I gave it a try in an ubuntu 22 VM and gave it the aggressive xhost + to see if XServer would accept my connection and it seems to work. I'm not sure what is going on here but it seems machine specific. Since I can't recreate it, I am going to have to close the issue, but if you have more details on how we can reproduce this issue we can investigate further.

@AtofStryker AtofStryker removed their assignment Mar 23, 2023
@laoneo
Copy link
Author

laoneo commented Mar 24, 2023

That's why I posted the debug log that you can have a look. As I wrote as well that it works on my desktop pc I hoped you will get something from the log why cypress is crashing.

@nagash77
Copy link
Contributor

Hi @laoneo , Right now there doesn't seem to be enough information to reproduce the problem on our end. We'll have to close this issue until we can reproduce it. This does not mean that your issue is not happening - it just means that we do not have a path to move forward.

Please open a new issue with a reproducible example and link to this issue. Here are some tips for providing a Short, Self Contained, Correct, Example and our own Troubleshooting Cypress guide.

@laoneo
Copy link
Author

laoneo commented Apr 5, 2023

The problem is that the window of cypress opens and then it stays blank. How else should I give you more information. Not sure what it has to do with the environment as the window opens, but it crashes on the cypress side. So, how can I provide more information?

@nagash77
Copy link
Contributor

nagash77 commented Apr 5, 2023

Hello @laoneo , At this point we just don't have a way to dig deeper without spending more time than we have available. This is not being widely reported and seems to be specific to your laptop configuration. If you find a way to reliably reproduce this problem outside of your specific laptop please do comment back and we can reopen and investigate.

@laoneo
Copy link
Author

laoneo commented Apr 5, 2023

I understand that it is something specific to my setup. But how can get some debug information for the cypress window when it crashes? If no window would open, then I would understand your attitude, but the window opens form cypress, so actually cypress loads, but crashes. So is there a way to get a crash report of the cypress window?

1 similar comment
@laoneo
Copy link
Author

laoneo commented Apr 5, 2023

I understand that it is something specific to my setup. But how can get some debug information for the cypress window when it crashes? If no window would open, then I would understand your attitude, but the window opens form cypress, so actually cypress loads, but crashes. So is there a way to get a crash report of the cypress window?

@emilyrohrbough
Copy link
Member

@laoneo You should be able to open the dev tools and check for information there.

@laoneo
Copy link
Author

laoneo commented Apr 6, 2023

Thanks for the info. Unfortunately the cypress window doesn't react to any key press I do. It is not the browser who crashes, the cypress window where I can choose the browser and shows me the changelog is not loading fully.

@HLeithner
Copy link

Just for the record, I have the same issue with debian bookworm and kde on wayland

@laoneo
Copy link
Author

laoneo commented May 30, 2023

Switching to X11 solved the issue as recommended in #20891.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants