Urucas / cordova-test

cli-tool to automate Appium tests suite for Cordova apps
MIT License
6 stars 8 forks source link

Integrate with Sauce Labs #3

Open vrunoa opened 9 years ago

vrunoa commented 9 years ago

Already uploading the app to Sauce Labs storage, setting the capabilities "app":"sauce-storage:app_name" But it's not working, the test is getting an error on Sauce Labs before running the app.

Responding to client with error: {"status":33,"value":{"message":"A new session 
could not be created. (Original error: Command failed: java.util.zip.ZipException: 
error in opening zip file\n\tat java.util.zip.ZipFile.open(Native Method)\n\tat 
java.util.zip.ZipFile.<init>(ZipFile.java:132)\n\tat java.util.jar.JarFile.<init>
(JarFile.java:153)\n\tat java.util.jar.JarFile.<init>(JarFile.java:132)\n\tat 
s.Sign.sign(Sign.java:441)\n\tat s.Sign.main(Sign.java:532)\n)","killed":false,"code":1,"signal":null,"origValue":
"Command failed: java.util.zip.ZipException: error in opening zip file\n\tat 
java.util.zip.ZipFile.open(Native Method)\n\tat java.util.zip.ZipFile.<init>
(ZipFile.java:132)\n\tat java.util.jar.JarFile.<init>(JarFile.java:153)\n\tat 
java.util.jar.JarFile.<init>(JarFile.java:132)\n\tat s.Sign.sign(Sign.java:441)\n\tat 
s.Sign.main(Sign.java:532)\n"},"sessionId":null}
vrunoa commented 9 years ago

Fixed. The upload app file was wrong.

jitendra-sen commented 8 years ago

Hello @vrunoa

I am facing the same issue with my app, Could you please guide me what was wrong in your APK ? I checked with Sauce Labs requirements for Android, and i have those. Thanks!

vrunoa commented 8 years ago

hey @jitendra-sen I cant remember pretty exactly what was the issue. Can you try resigning your app and upload it manually or using sauce-uploader ?

jitendra-sen commented 8 years ago

Thanks @vrunoa for your reply. I will try this.