calabash / calabash-android

Automated Functional testing for Android using cucumber
Other
1.68k stars 617 forks source link

'start_test_server_in_background' has issue with new version 0.9.6 #893

Open aosng007 opened 6 years ago

aosng007 commented 6 years ago

Following command executed with different results by calabash-android version 0.9.5 and 0.9.6

_calabash-android resign calabash-android console reinstall_apps reinstall_test_server start_test_server_inbackground

ruttuk commented 6 years ago

I'm having the exact same issue. If someone could post a solution it would be appreciated!

aosng007 commented 6 years ago

@ruttuk , I've worked out a temp solution that specify version with calabash-android 0.9.5 and rubyzip 1.2.1 in Gemfile, which can stop automatically upgrade into up-to-date version

ruttuk commented 6 years ago

@aosng007 This worked! Thank you!

harvinderkaur commented 6 years ago

I have updated my gemfile -

frozen_string_literal: true

source "https://rubygems.org"

git_source(:github) {|repo_name| "https://github.com/#{repo_name}" } gem 'calabash-android', '0.9.5' gem 'rubyzip', '1.2.1'

gem "rails"

and also added this in gemfile as well source 'https://rubygems.org'

gem 'calabash-android', '0.9.5' gem 'cucumber' gem 'mongo' gem 'json' gem 'rubyzip', '1.2.1'

but still having issues - RuntimeError: Failed to start application. Starting took more than 60 seconds: HTTPClient::ReceiveTimeoutError - execution expired

harvinderkaur commented 6 years ago

Can someone share the exacts steps on how to get it working.

gunesmes commented 6 years ago

@harvinderkaur have you uninstalled the instrument_backend app in your device?

harvinderkaur commented 6 years ago

@gunesmes how do i do that. Any steps to it.

AndreyMitsyk commented 6 years ago

@harvinderkaur just remove it from app list e.g. on clear android: settings->Apps&notification -> See all apps ->instrument_backend -> uninstall

harvinderkaur commented 6 years ago

@AndreyMitsyk - Have tried and I still get the same error.