Run skywalker test versus/on a real environment


#1

is it possible to run skywalker tests from a real environment ( in my case a development environment) using the UI of that env ?

I did change the domain setting with the url of my environment and running the test from console tester tool I receive an error from:

client = Skywalker.init({
browserName: browser
});

“cause” : {
“template” : “Error: An error occurred when calling action ‘init’.\r\nMessage: JavaException: c3.love.exceptions.C3RuntimeException: wrapped org.apache.http.conn.HttpHostConnectException: Connect to localhost:4444 [localhost/127.0.0.1] failed: Connection refused (Connection refused)\n\n at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect\n …\n at c3.remote.http.CloseableHttpClient.execute (CloseableHttpClient.java:118)\r\n\r\n\r\n (Skywalker_init.js#68)”
},


#2

To run Skywalker tests, we need to enable Selenium server on the remote environment. Based on the error message, I believe the selenium server is not enabled.


#3

@chenliu9 Do you know hot to set up? and if it possible to run it on a real enviroment (not local dev env)?


#4

You need to execute c3-selenium start on the remote environment.


#5

@marcosordi As @josh.nathanson mentioned, c3-selenium start is the command to start Selenium server, and Ops team needs to run that command on a real environment.