question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

problem testing e2e in docker image

See original GitHub issue

Hi, I have problems running the e2e tests in the following docker image: https://gist.github.com/geoHeil/48cd94bf4d748fd8fd6d25de4c272157

Chrome seems to be unreachable, even though chromium is installed:

WebDriverError: chrome not reachable
  (Driver info: chromedriver=2.21.371461 (633e689b520b25f3e264a2ede6b74ccc23cb636a),platform=Linux 4.4.14-moby x86_64)
    at WebDriverError (/home/jenkins/clicker/node_modules/protractor/node_modules/selenium-webdriver/error.js:27:10)
    at Object.checkLegacyResponse (/home/jenkins/clicker/node_modules/protractor/node_modules/selenium-webdriver/error.js:580:13)
    at /home/jenkins/clicker/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver.js:64:13
    at Promise.invokeCallback_ (/home/jenkins/clicker/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:1329:14)
    at TaskQueue.execute_ (/home/jenkins/clicker/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:2790:14)
    at TaskQueue.executeNext_ (/home/jenkins/clicker/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:2773:21)
    at /home/jenkins/clicker/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:2652:27
    at /home/jenkins/clicker/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:639:7
    at process._tickCallback (node.js:369:9)
From: Task: WebDriver.createSession()
    at acquireSession (/home/jenkins/clicker/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver.js:62:22)
    at Function.createSession (/home/jenkins/clicker/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver.js:295:12)
    at Driver (/home/jenkins/clicker/node_modules/protractor/node_modules/selenium-webdriver/chrome.js:778:38)
    at Direct.getNewDriver (/home/jenkins/clicker/node_modules/protractor/built/driverProviders/direct.js:65:26)
    at Runner.createBrowser (/home/jenkins/clicker/node_modules/protractor/built/runner.js:182:43)
    at /home/jenkins/clicker/node_modules/protractor/built/runner.js:255:30
    at _fulfilled (/home/jenkins/clicker/node_modules/protractor/node_modules/q/q.js:834:54)
    at self.promiseDispatch.done (/home/jenkins/clicker/node_modules/protractor/node_modules/q/q.js:863:30)
    at Promise.promise.promiseDispatch (/home/jenkins/clicker/node_modules/protractor/node_modules/q/q.js:796:13)
    at /home/jenkins/clicker/node_modules/protractor/node_modules/q/q.js:556:49

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:24 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
lathonezcommented, Jul 6, 2016

I’ve added a little info and a reference to this issue on the e2e blog.

https://github.com/lathonez/lathonez.github.io/commit/2275acf93832048566657a0baa4e3aa635f25f4d

0reactions
geoHeilcommented, Jul 5, 2016

Thanks a lot finally I got it working - well sort of: 1__docker

Read more comments on GitHub >

github_iconTop Results From Across the Web

Running E2E tests in a Dockerized Environment - Medium
The main purpose of End-to-end (E2E) testing is to test from the end user's experience by simulating the real user scenario and validating...
Read more >
How To Achieve Practical End-to-End Testing With Docker ...
We'll walk through the biggest issue with maintaining and running E2E tests: the speed and hassle of spinning up a full-stack environment.
Read more >
End-to-end Testing with Docker - Grubhub Bytes
I'm getting to it! The problem with our E2E tests was that they generally worked great when running on my Macbook Pro, but...
Read more >
Dockerizing Playwright/E2E Tests - Tipalti Labs
In this demo we build the container with the tests baked in, but in theory you exclude the tests from the COPY command...
Read more >
Issue with running e2e Angular tests in docker and setting up ...
The main issues were in the Dockerfile and the protractor config file. The first issue with the protractor config file is that you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found