-
Notifications
You must be signed in to change notification settings - Fork 33
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
Unable to run protractor tests using this container #6
Comments
Anything on this? anyone running into it? |
It works for me at the moment, but I might not have pulled the latest version recently... I use the following protractor.conf.js:
|
Do you have a *.spec.js file in you current dir and see that the test passed? I am having trouble with the chrome version. Will try the conf. file mentioned here. |
When I run as is using the above conf. file with appropriate spec file, i see the following:
|
I'll update my build server to the latest version of the image and give it a go to see if I see the same. |
OK I've pulled the latest version of this image (i.e. mrsheepuk/protractor from the docker hub) down into my environment and it's working perfectly. Here's a spec I'm using successfully:
|
@adokania Did you have any luck getting it to work? |
No luck , I ran the following command with the above mentioned conf file and got the connection refused error -
I get the following error:
|
On removing the seleniumAddress param from the conf file I get past the connection refused error but I constantly see that the chrome browser exited abnormally. Same error when i originally created the issue. |
What version of docker are you using? I'm wondering if it's something environmental... |
Docker version 1.12.2, build bb80604, |
I'm having the same issue :( |
same here |
same here |
@mrsheepuk Could you update Protractor to the newest version, 5.1.2? |
i am also facing same issue. I am using protractor 5.1.2. Can you please help me. |
Any update on this? Otherwise this repo seems useless. :/ |
same issue |
I constantly get the following error :
unknown error: Chrome failed to start: exited abnormally (Driver info: chromedriver=2.25.426924 (649f9b868f6783ec9de71c123212b908bf3b232e),platform=Linux 4.4.24-moby x86_64) [18:30:50] E/launcher - WebDriverError: unknown error: Chrome failed to start: exited abnormally (Driver info: chromedriver=2.25.426924 (649f9b868f6783ec9de71c123212b908bf3b232e),platform=Linux 4.4.24-moby x86_64) at WebDriverError (/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/error.js:27:10) at Object.checkLegacyResponse (/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/error.js:639:15) at parseHttpResponse (/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/http/index.js:538:13) at /usr/lib/node_modules/protractor/node_modules/selenium-webdriver/http/index.js:472:11 at ManagedPromise.invokeCallback_ (/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:1379:14) at TaskQueue.execute_ (/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:2913:14) at TaskQueue.executeNext_ (/usr/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:2896:21) at /usr/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:2820:25 at /usr/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/promise.js:639:7 at process._tickCallback (node.js:369:9)
Following is my protractor.conf.js :
NOTE: (I have tried with and w/o directConnect and SeleniumServerJar)
The text was updated successfully, but these errors were encountered: