-
Notifications
You must be signed in to change notification settings - Fork 24
Triggering tests through Jenkins on a self-hosted Selenium Server leads to Exceptions #41
Comments
Hi @rmadakasira, I'm assuming that you've written your own class implementing RemoteWebDriverServiceProvider and configured the Settings page to point to your self-hosted server.
|
|
@rmadakasira best guess is that the version of ccli you're using is outdated, and isn't working well with cinnamon. Unfortunately, we do not have a plan for releasing ccli. Could you rewrite your jenkins job to go through the UI instead? |
I don't think I follow you. Can you please explain what you mean ? Thanks. |
Since you can manually run tests, why not write a little java or python using webdriver to login to your DE org and run the tests through the UI? This isn't a great solution, I know, but like I said, we have no plans for releasing ccli at this point. |
Does this mean that the REST API is not supported either? Couldn't find documentation for it anywhere. You should probably update http://forcedotcom.github.io/cinnamon/ and remove the mention of ccli. |
Hi,
I am able to run tests successfully through UI by clicking on "Execute Tests" in "Test Console" page. I am now trying to trigger tests through my Jenkins job, and it triggers the below error. I am able to trigger tests when the "WebDriver Service Provide" is sauceLabs.
Based on this I would imagine, I will have to make few more configuration changes, and I don't want to re-invent the wheel. Your help is appreciated. Thanks.
Mar 03, 2015 11:15:36 AM cinnamon.Ccli main
SEVERE: An unexpected error occurred. aborting test
java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to java.util.Map
at cinnamon.CinnamontTestSuite.getMapFromJson(CinnamontTestSuite.java:82)
at cinnamon.CinnamontTestSuite.run(CinnamontTestSuite.java:158)
at cinnamon.Ccli.run(Ccli.java:80)
at cinnamon.Ccli.main(Ccli.java:48)
The text was updated successfully, but these errors were encountered: