magento2-cypress-testing-suite
magento2-cypress-testing-suite copied to clipboard
GUI not working inside docker (warden )
As we are using https://github.com/davidalger/warden for our projects, its not possible to use the GUI.
Running npx cypress open throws the following error:
[2051:0713/115838.687050:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2051:0713/115838.687148:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2051:0713/115838.688083:ERROR:bus.cc(397)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2051:0713/115838.688101:ERROR:bus.cc(397)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2202:0713/115838.728663:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.
[2202:0713/115838.730793:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.
[2051:0713/115838.850065:ERROR:bus.cc(397)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[2051:0713/115838.862459:ERROR:bus.cc(397)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
Is the GUI supported for cases like this?
Where do you start cypress? I use warden and can not reproduce. Can you provide more information on what steps you to till you get to this error?
Closing due to inactivity.
Sorry for the late reply.
I followed the steps from https://github.com/elgentos/magento2-cypress-testing-suite#installation to install cypress and got it running in the cli. When i am inside the warden shell, then i run npx cypress open which leads to the following:
Opening Cypress...
[3521:1024/124447.124510:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.
[3546:1024/124448.008898:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[3546:1024/124448.035631:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
Couldn't find tsconfig.json. tsconfig-paths will be skipped
[3546:1024/124448.241062:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
[3546:1024/124448.275202:ERROR:socket_posix.cc(93)] CreatePlatformSocket() failed: Address family not supported by protocol (97)
@BorisovskiP you can't run the Cypress GUI from a Docker container since it has nowhere to output it.