atlassian / docker-chromium-xvfb

Docker image for running browser tests against headless Chromium
MIT License
398 stars 125 forks source link

E2E using Protractor #26

Open M3ssman opened 7 years ago

M3ssman commented 7 years ago

Hello,

I tried the Image to build a custum container that is expected to run e2e Test using Protractor, not Karma. Using your Instructions I added npm global Installations for webdriver and protractor. When the container gets up, it yields:

root@gitlab2-VirtualBox:/home/tp-docker/git/docker-chromium# docker run --name e2e e2e-chr Xlib: extension "RANDR" missing on display ":99". [7:16:0524/071954.451043:ERROR:bus.cc(427)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory Xlib: extension "RANDR" missing on display ":99". libudev: udev_has_devtmpfs: name_to_handle_at on /dev: Operation not permitted [51:51:0524/071954.830454:ERROR:child_thread_impl.cc(762)] Request for unknown Channel-associated interface: ui::mojom::GpuMain [7:32:0524/071954.831926:ERROR:browser_gpu_channel_host_factory.cc(125)] Failed to create channel. [7:32:0524/071954.832024:ERROR:browser_gpu_channel_host_factory.cc(125)] Failed to create channel. [7:32:0524/071954.833349:ERROR:browser_gpu_channel_host_factory.cc(125)] Failed to create channel. [7:32:0524/071954.834286:ERROR:browser_gpu_channel_host_factory.cc(125)] Failed to create channel. [7:32:0524/071954.834625:ERROR:browser_gpu_channel_host_factory.cc(125)] Failed to create channel. libudev: udev_has_devtmpfs: name_to_handle_at on /dev: Operation not permitted

Afterwards, the container hangs just, doing nothing more. Is it even possible to use the Image with Protractor?

bwyss commented 6 years ago

any progress on this, I have the same request