-
Notifications
You must be signed in to change notification settings - Fork 9
Conversation
|
||
apt-get install openjdk-7-jre-headless -y | ||
|
||
# Install Selenium. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
selenium isn't needed for the tests, as they run via Chrome driver directly.
@ordavidil maybe instead of trying to install Chrome, you can use another docker container for this. See, which is using https://github.com/elgalu/docker-selenium. Otherwise, maybe that repo can at least act as a source to see how do it. |
@ItamarGronich also you might want to check this one: |
@ordavidil It seems i can start it now, not sure if i will have a clean timeslot now, but just took a look.
What's on those lines from the build output, it sums up the issue nicely, right? |
when chrome driver isn't running, it's falling back to phantomjs |
Ok, thanks. Right now I try to see the very same fail at localhost:
But it fails to build an image from the Dockerfile. Any hints? Thanks! |
@AronNovak |
I am at the point just to build the image, the command is: |
Build the image: docker build -t server -f ci-scripts/docker_files/Dockerfile . Run the container: docker run -it -p 8080:80 -e BUILD_WEBDRIVERIO=1 server
|
@AronNovak ^^ I think worth adding this info to the README under |
Worth contacting them to ask |
@amitaibu @ordavidil Thanks for the feedback, I go ahead and I contact Travis about this issue and going to make the other two builds pass in the meantime of course.. |
They probably won't know how to answer. The support should be about how to allow us to debug a Travis instance (they have a way of letting you to ssh into the box) |
Indeed, thanks for the notice, then I just did a follow-up on the thread mentioning that debugging (SSH, etc) would be sufficient help for us. |
The support was swift, they enabled us to debug the build with SSH, so hopefully we will be able to soon solve this, I tested the SSH access, it works like a charm, the only limitation is that only one SSH session is enabled, but there are workarounds for that, for instance |
…IO test [skip ci]
nice! Usually, on travis we gulp and then |
Tests are passing, I am doing some improvements like #43 (comment) and so on! |
…_client.sh already contains that [skip ci]
…container to test Behat.
…nning the container
…inherit from host shell
…/prepare_client.sh already contains that" This reverts commit 6c088c7.
I performed the tweaks I had in mind, any further feedback is highly appreciated! |
🎉 It's green! |
@@ -1,6 +1,7 @@ | |||
module Pages.Login.Update exposing (fetchUserFromBackend, update) | |||
|
|||
import Config.Model exposing (BackendUrl) | |||
import Http exposing (Error(BadStatus)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this change related, or just need a re-roll with master?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's coming from c244a19 , on my side, it's not related. It seems, at a certain point, the Elm app/test itself was modified for some reason, we might revert those commits, if not needed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rohanorton could you help us about the purpose of the Elm-related commits under this PR? Thank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They're originally from this PR: #51. It was to prevent error messages being shown on invalid session tokens.
Sorry, what I meant was that you had to Amazing work folks! |
@@ -72,10 +72,10 @@ exports.config = { | |||
// | |||
// Set a base URL in order to shorten url command calls. If your url parameter starts | |||
// with "/", then the base url gets prepended. | |||
baseUrl: 'http://localhost:3000', | |||
baseUrl: 'http://server.local:3000', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AronNovak oh, this was changed on the general client/wdio.conf.js
. Please create a client/wdio.conf.travis.js
and execute it instead, and revert the changes introduced here
#29