Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ export BUNDLE_ID=com.example.MyApp-cal
- $ export DEVICE_TARGET=< UDID >
- $ export DEVICE_ENDPOINT=http://<ip>:37265
- $ bundle exec calabash-ios console
- Last login: Wed Apr 5 08:39:58 on ttys001
- dss-2s-MacBook-Air:~ dss-2$ /Users/dss-2/calabash-sandbox ; exit;
- This terminal is now ready to use with Calabash.
- To exit, type 'exit'.
- [dss-2@calabash-sandbox]$ bundle
- bash: bundle: command not found
- [dss-2@calabash-sandbox]$ bundle exec calabash-ios download
- bash: bundle: command not found
- [dss-2@calabash-sandbox]$ cd /Users/dss-2/mivo-live-swift/Gemfile
- bash: cd: /Users/dss-2/mivo-live-swift/Gemfile: Not a directory
- [dss-2@calabash-sandbox]$ cd /Users/dss-2/mivo-live-swift/
- [dss-2@calabash-sandbox]$ bundle
- bash: bundle: command not found
- [dss-2@calabash-sandbox]$ bundle exec calabash-ios download
- bash: bundle: command not found
- [dss-2@calabash-sandbox]$ Gemfile
- bash: Gemfile: command not found
- [dss-2@calabash-sandbox]$ cd /Users/dss-2/mivo-live-swift/
- [dss-2@calabash-sandbox]$ cd /Users/dss-2/mivo-live-swift/
- [dss-2@calabash-sandbox]$ Gemfile
- bash: Gemfile: command not found
- [dss-2@calabash-sandbox]$ bundle install
- bash: bundle: command not found
- [dss-2@calabash-sandbox]$ gem install bundler
- Fetching: bundler-1.14.6.gem (100%)
- Successfully installed bundler-1.14.6
- Parsing documentation for bundler-1.14.6
- Installing ri documentation for bundler-1.14.6
- 1 gem installed
- [dss-2@calabash-sandbox]$ bundle
- Fetching gem metadata from https://rubygems.org/..........
- Fetching version metadata from https://rubygems.org/..
- Fetching dependency metadata from https://rubygems.org/.
- Resolving dependencies...
- Rubygems 2.0.14.1 is not threadsafe, so your gems will be installed one at a time. Upgrade to Rubygems 2.1.0 or higher to enable parallel gem installation.
- Installing CFPropertyList 2.3.5
- Installing awesome_print 1.7.0
- Installing builder 3.2.3
- Using bundler 1.14.6
- Installing clipboard 1.1.1
- Installing gherkin 4.1.1
- Installing cucumber-wire 0.0.1
- Installing diff-lcs 1.3
- Installing multi_json 1.12.1
- Installing multi_test 0.1.2
- Installing edn 1.1.1
- Installing geocoder 1.4.3
- Installing httpclient 2.8.3
- Installing json 1.8.6 with native extensions
- Installing command_runner_ng 0.1.0
- Installing i18n 0.8.1
- Installing thor 0.19.4
- Installing cucumber-core 1.5.0
- Installing run_loop 2.3.1
- Installing cucumber 2.4.0
- Installing slowhandcuke 0.0.3
- Installing calabash-cucumber 0.20.4
- Bundle complete! 1 Gemfile dependency, 22 gems now installed.
- Use `bundle show [gemname]` to see where a bundled gem is installed.
- Post-install message from slowhandcuke:
- *****************************************************************
- * To use the slowhandcuke formatter, simple add *
- * --format 'Slowhandcuke::Formatter' *
- * to your cucumber.yml, Rakefile, or command line call *
- *****************************************************************
- [dss-2@calabash-sandbox]$ bundle exec calabash-ios download
- ----------Info----------
- caution: excluded filename not matched: __MACOSX/*
- caution: excluded filename not matched: calabash.framework/.DS_Store
- ---------------------------
- [dss-2@calabash-sandbox]$ bundle exec calabash-ios gen
- ----------Question----------
- I'm about to create a features directory here:
- /Users/dss-2/mivo-live-swift/features
- This directory will contain all of your calabash tests.
- Shall I proceed? (Y/n)
- ---------------------------
- Y
- Created: /Users/dss-2/mivo-live-swift/features
- Found a Gemfile...and it contains calabash-cucumber!
- My work is done here.
- [dss-2@calabash-sandbox]$ bundle exec cucumber
- Feature: Sample Feature
- Scenario: Sample Scenario # features/sample.feature:3
- Recursively searched these directories to depth 10:
- /Users/dss-2/Library/Developer/Xcode/DerivedData/mivo-swift-geeaggqjvlnqwpgrzkxhxiwnvxgq
- /Users/dss-2/Library/Developer/Xcode/DerivedData/mivo-swift-geiuqbxjxicsiagcymagapbxhygp
- /Users/dss-2/mivo-live-swift
- but could not find any .app for the simulator that links the Calabash iOS server.
- Make sure you have built your app for a simulator target from Xcode.
- If you are testing a stand-alone .app (you don't have an Xcode project), put
- your .app in the same directory (or below) the directory you run `cucumber` from.
- (RunLoop::NoSimulatorAppFoundError)
- ./features/support/01_launch.rb:27:in `Before'
- Given the app has launched # features/steps/sample_steps.rb:1
- And I have done a specific thing # features/steps/sample_steps.rb:7
- When I do something # features/steps/sample_steps.rb:32
- Then something should happen # features/steps/sample_steps.rb:41
- Failing Scenarios:
- cucumber features/sample.feature:3 # Scenario: Sample Scenario
- 1 scenario (1 failed)
- 4 steps (4 skipped)
- 0m7.832s
- [dss-2@calabash-sandbox]$ export APP=Products/app/mivo-swift.app
- [dss-2@calabash-sandbox]$ bundle exec cucumber
- Feature: Sample Feature
- Scenario: Sample Scenario # features/sample.feature:3
- The app you are trying to launch is not installed on the target device:
- bundle identifier: mivo-swift.app
- device: #<Simulator: iPhone 7 (10.2) 3B5B420A-3345-43BF-9CC9-57AC6699C5E3 x86_64>
- Please install it.
- (RuntimeError)
- ./features/support/01_launch.rb:27:in `Before'
- Given the app has launched # features/steps/sample_steps.rb:1
- And I have done a specific thing # features/steps/sample_steps.rb:7
- When I do something # features/steps/sample_steps.rb:32
- Then something should happen # features/steps/sample_steps.rb:41
- Failing Scenarios:
- cucumber features/sample.feature:3 # Scenario: Sample Scenario
- 1 scenario (1 failed)
- 4 steps (4 skipped)
- 0m34.451s
- [dss-2@calabash-sandbox]$ bundle exec cucumber
- Feature: Sample Feature
- Scenario: Sample Scenario # features/sample.feature:3
- The app you are trying to launch is not installed on the target device:
- bundle identifier: mivo-swift.app
- device: #<Simulator: iPhone 7 (10.2) 3B5B420A-3345-43BF-9CC9-57AC6699C5E3 x86_64>
- Please install it.
- (RuntimeError)
- ./features/support/01_launch.rb:27:in `Before'
- Given the app has launched # features/steps/sample_steps.rb:1
- And I have done a specific thing # features/steps/sample_steps.rb:7
- When I do something # features/steps/sample_steps.rb:32
- Then something should happen # features/steps/sample_steps.rb:41
- Failing Scenarios:
- cucumber features/sample.feature:3 # Scenario: Sample Scenario
- 1 scenario (1 failed)
- 4 steps (4 skipped)
- 0m8.603s
- [dss-2@calabash-sandbox]$ bundle exec cucumber
- Feature: Sample Feature
- Scenario: Sample Scenario # features/sample.feature:3
- The app you are trying to launch is not installed on the target device:
- bundle identifier: mivo-swift.app
- device: #<Simulator: iPhone 7 (10.2) 3B5B420A-3345-43BF-9CC9-57AC6699C5E3 x86_64>
- Please install it.
- (RuntimeError)
- ./features/support/01_launch.rb:27:in `Before'
- Given the app has launched # features/steps/sample_steps.rb:1
- And I have done a specific thing # features/steps/sample_steps.rb:7
- When I do something # features/steps/sample_steps.rb:32
- Then something should happen # features/steps/sample_steps.rb:41
- Failing Scenarios:
- cucumber features/sample.feature:3 # Scenario: Sample Scenario
- 1 scenario (1 failed)
- 4 steps (4 skipped)
- 0m7.151s
- [dss-2@calabash-sandbox]$ export APP=Products/app/mivo-swift.app
- [dss-2@calabash-sandbox]$ bundle exec cucumber
- Feature: Sample Feature
- Scenario: Sample Scenario # features/sample.feature:3
- The app you are trying to launch is not installed on the target device:
- bundle identifier: mivo-swift.app
- device: #<Simulator: iPhone 7 (10.2) 3B5B420A-3345-43BF-9CC9-57AC6699C5E3 x86_64>
- Please install it.
- (RuntimeError)
- ./features/support/01_launch.rb:27:in `Before'
- Given the app has launched # features/steps/sample_steps.rb:1
- And I have done a specific thing # features/steps/sample_steps.rb:7
- When I do something # features/steps/sample_steps.rb:32
- Then something should happen # features/steps/sample_steps.rb:41
- Failing Scenarios:
- cucumber features/sample.feature:3 # Scenario: Sample Scenario
- 1 scenario (1 failed)
- 4 steps (4 skipped)
- 0m5.725s
- [dss-2@calabash-sandbox]$ bundle exec cucumber
- Feature: Sample Feature
- Scenario: Sample Scenario # features/sample.feature:3
- The app you are trying to launch is not installed on the target device:
- bundle identifier: mivo-swift.app
- device: #<Simulator: iPhone 7 (10.2) 3B5B420A-3345-43BF-9CC9-57AC6699C5E3 x86_64>
- Please install it.
- (RuntimeError)
- ./features/support/01_launch.rb:27:in `Before'
- Given the app has launched # features/steps/sample_steps.rb:1
- And I have done a specific thing # features/steps/sample_steps.rb:7
- When I do something # features/steps/sample_steps.rb:32
- Then something should happen # features/steps/sample_steps.rb:41
- Failing Scenarios:
- cucumber features/sample.feature:3 # Scenario: Sample Scenario
- 1 scenario (1 failed)
- 4 steps (4 skipped)
- 0m6.401s
- [dss-2@calabash-sandbox]$ bundle exec cucumber
- Feature: Sample Feature
- Scenario: Sample Scenario # features/sample.feature:3
- The app you are trying to launch is not installed on the target device:
- bundle identifier: mivo-swift.app
- device: #<Simulator: iPhone 7 (10.2) 3B5B420A-3345-43BF-9CC9-57AC6699C5E3 x86_64>
- Please install it.
- (RuntimeError)
- ./features/support/01_launch.rb:27:in `Before'
- Given the app has launched # features/steps/sample_steps.rb:1
- And I have done a specific thing # features/steps/sample_steps.rb:7
- When I do something # features/steps/sample_steps.rb:32
- Then something should happen # features/steps/sample_steps.rb:41
- Failing Scenarios:
- cucumber features/sample.feature:3 # Scenario: Sample Scenario
- 1 scenario (1 failed)
- 4 steps (4 skipped)
- 0m5.493s
- [dss-2@calabash-sandbox]$ export APP=Products/app/mivo-live.app
- [dss-2@calabash-sandbox]$ bundle exec cucumber
- Feature: Sample Feature
- Scenario: Sample Scenario # features/sample.feature:3
- The app you are trying to launch is not installed on the target device:
- bundle identifier: mivo-live.app
- device: #<Simulator: iPhone 7 (10.2) 3B5B420A-3345-43BF-9CC9-57AC6699C5E3 x86_64>
- Please install it.
- (RuntimeError)
- ./features/support/01_launch.rb:27:in `Before'
- Given the app has launched # features/steps/sample_steps.rb:1
- And I have done a specific thing # features/steps/sample_steps.rb:7
- When I do something # features/steps/sample_steps.rb:32
- Then something should happen # features/steps/sample_steps.rb:41
- Failing Scenarios:
- cucumber features/sample.feature:3 # Scenario: Sample Scenario
- 1 scenario (1 failed)
- 4 steps (4 skipped)
- 0m5.715s
- [dss-2@calabash-sandbox]$ bundle exec cucumber
- Feature: Sample Feature
- Scenario: Sample Scenario # features/sample.feature:3
- The app you are trying to launch is not installed on the target device:
- bundle identifier: mivo-live.app
- device: #<Simulator: iPhone 7 (10.2) 3B5B420A-3345-43BF-9CC9-57AC6699C5E3 x86_64>
- Please install it.
- (RuntimeError)
- ./features/support/01_launch.rb:27:in `Before'
- Given the app has launched # features/steps/sample_steps.rb:1
- And I have done a specific thing # features/steps/sample_steps.rb:7
- When I do something # features/steps/sample_steps.rb:32
- Then something should happen # features/steps/sample_steps.rb:41
- Failing Scenarios:
- cucumber features/sample.feature:3 # Scenario: Sample Scenario
- 1 scenario (1 failed)
- 4 steps (4 skipped)
- 0m5.814s
- [dss-2@calabash-sandbox]$ make app
- make: *** No rule to make target `app'. Stop.
- [dss-2@calabash-sandbox]$ export APP=mivo-live.app
- [dss-2@calabash-sandbox]$ bundle exec cucumber
- Feature: Sample Feature
- Scenario: Sample Scenario # features/sample.feature:3
- The app you are trying to launch is not installed on the target device:
- bundle identifier: mivo-live.app
- device: #<Simulator: iPhone 7 (10.2) 3B5B420A-3345-43BF-9CC9-57AC6699C5E3 x86_64>
- Please install it.
- (RuntimeError)
- ./features/support/01_launch.rb:27:in `Before'
- Given the app has launched # features/steps/sample_steps.rb:1
- And I have done a specific thing # features/steps/sample_steps.rb:7
- When I do something # features/steps/sample_steps.rb:32
- Then something should happen # features/steps/sample_steps.rb:41
- Failing Scenarios:
- cucumber features/sample.feature:3 # Scenario: Sample Scenario
- 1 scenario (1 failed)
- 4 steps (4 skipped)
- 0m5.579s
- [dss-2@calabash-sandbox]$ export APP=Products/app/mivo-live.app
- [dss-2@calabash-sandbox]$ bundle exec cucumber
- Feature: Sample Feature
- Scenario: Sample Scenario # features/sample.feature:3
- The app you are trying to launch is not installed on the target device:
- bundle identifier: mivo-live.app
- device: #<Simulator: iPhone 7 (10.2) 3B5B420A-3345-43BF-9CC9-57AC6699C5E3 x86_64>
- Please install it.
- (RuntimeError)
- ./features/support/01_launch.rb:27:in `Before'
- Given the app has launched # features/steps/sample_steps.rb:1
- And I have done a specific thing # features/steps/sample_steps.rb:7
- When I do something # features/steps/sample_steps.rb:32
- Then something should happen # features/steps/sample_steps.rb:41
- Failing Scenarios:
- cucumber features/sample.feature:3 # Scenario: Sample Scenario
- 1 scenario (1 failed)
- 4 steps (4 skipped)
- 0m5.433s
- [dss-2@calabash-sandbox]$ bundle exec calabash-ios console
- Running irb...
- ######################### Useful Methods ##########################
- ids => List all the visible accessibility ids.
- labels => List all the visible accessibility labels.
- text => List all the visible texts.
- marks => List all the visible marks.
- tree => The app's visible view hierarchy.
- flash => flash(<query>); Disco effect for views matching <query>
- verbose => Turn debug logging on.
- quiet => Turn debug logging off.
- copy => Copy console commands to clipboard.
- clear => Clear the console.
- Calabash says, "Take a deep breath."
- calabash-ios 0.20.4> start_test_server_in_background
- RuntimeError:
- The app you are trying to launch is not installed on the target device:
- bundle identifier: mivo-live.app
- device: #<Simulator: iPhone 7 (10.2) 3B5B420A-3345-43BF-9CC9-57AC6699C5E3 x86_64>
- Please install it.
- from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/device_agent/client.rb:1345:in `launch_aut'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/device_agent/client.rb:272:in `launch'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/device_agent/client.rb:147:in `run'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop.rb:113:in `run'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/launcher.rb:408:in `block in new_run_loop'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/launcher.rb:406:in `times'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/launcher.rb:406:in `new_run_loop'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/launcher.rb:365:in `relaunch'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/core.rb:1567:in `start_test_server_in_background'
- from (irb):1
- from /usr/bin/irb:12:in `<main>'
- calabash-ios 0.20.4> exit
- [dss-2@calabash-sandbox]$ export APP=Products/app/Mivo.app
- [dss-2@calabash-sandbox]$ bundle exec cucumber
- Feature: Sample Feature
- Scenario: Sample Scenario # features/sample.feature:3
- The app you are trying to launch is not installed on the target device:
- bundle identifier: Mivo.app
- device: #<Simulator: iPhone 7 (10.2) 3B5B420A-3345-43BF-9CC9-57AC6699C5E3 x86_64>
- Please install it.
- (RuntimeError)
- ./features/support/01_launch.rb:27:in `Before'
- Given the app has launched # features/steps/sample_steps.rb:1
- And I have done a specific thing # features/steps/sample_steps.rb:7
- When I do something # features/steps/sample_steps.rb:32
- Then something should happen # features/steps/sample_steps.rb:41
- Failing Scenarios:
- cucumber features/sample.feature:3 # Scenario: Sample Scenario
- 1 scenario (1 failed)
- 4 steps (4 skipped)
- 0m5.428s
- [dss-2@calabash-sandbox]$ bundle exec cucumber
- Feature: Sample Feature
- Scenario: Sample Scenario # features/sample.feature:3
- The app you are trying to launch is not installed on the target device:
- bundle identifier: Mivo.app
- device: #<Simulator: iPhone 7 (10.2) 3B5B420A-3345-43BF-9CC9-57AC6699C5E3 x86_64>
- Please install it.
- (RuntimeError)
- ./features/support/01_launch.rb:27:in `Before'
- Given the app has launched # features/steps/sample_steps.rb:1
- And I have done a specific thing # features/steps/sample_steps.rb:7
- When I do something # features/steps/sample_steps.rb:32
- Then something should happen # features/steps/sample_steps.rb:41
- Failing Scenarios:
- cucumber features/sample.feature:3 # Scenario: Sample Scenario
- 1 scenario (1 failed)
- 4 steps (4 skipped)
- 0m6.963s
- [dss-2@calabash-sandbox]$ #APP_BUNDLE_PATH =
- [dss-2@calabash-sandbox]$ #App_BUNDLE_PATH = "~/..../../Mivo.app"
- [dss-2@calabash-sandbox]$ bundle exec cucumber
- Feature: Sample Feature
- Scenario: Sample Scenario # features/sample.feature:3
- The app you are trying to launch is not installed on the target device:
- bundle identifier: Mivo.app
- device: #<Simulator: iPhone 7 (10.2) 3B5B420A-3345-43BF-9CC9-57AC6699C5E3 x86_64>
- Please install it.
- (RuntimeError)
- ./features/support/01_launch.rb:27:in `Before'
- Given the app has launched # features/steps/sample_steps.rb:1
- And I have done a specific thing # features/steps/sample_steps.rb:7
- When I do something # features/steps/sample_steps.rb:32
- Then something should happen # features/steps/sample_steps.rb:41
- Failing Scenarios:
- cucumber features/sample.feature:3 # Scenario: Sample Scenario
- 1 scenario (1 failed)
- 4 steps (4 skipped)
- 0m5.978s
- [dss-2@calabash-sandbox]$ export APP=/Users/dss-2/Library/Developer/Xcode/DerivedData/mivo-swift-geiuqbxjxicsiagcymagapbxhygp/Build/Products/Debug-iphonesimulator/Mivo.app
- [dss-2@calabash-sandbox]$ bundle exec cucumber
- Feature: Sample Feature
- Scenario: Sample Scenario # features/sample.feature:3
- Given the app has launched # features/steps/sample_steps.rb:1
- And I have done a specific thing # features/steps/sample_steps.rb:7
- When I do something # features/steps/sample_steps.rb:32
- Then something should happen # features/steps/sample_steps.rb:41
- 1 scenario (1 passed)
- 4 steps (4 passed)
- 0m15.727s
- [dss-2@calabash-sandbox]$ bundle exec calabash-ios console
- Running irb...
- ######################### Useful Methods ##########################
- ids => List all the visible accessibility ids.
- labels => List all the visible accessibility labels.
- text => List all the visible texts.
- marks => List all the visible marks.
- tree => The app's visible view hierarchy.
- flash => flash(<query>); Disco effect for views matching <query>
- verbose => Turn debug logging on.
- quiet => Turn debug logging off.
- copy => Copy console commands to clipboard.
- clear => Clear the console.
- Calabash says, "Your wish is my command."
- calabash-ios 0.20.4> start_test_server_in_background
- #<Launcher: DeviceAgent/ios_device_manager>
- calabash-ios 0.20.4>
- > exit
- [dss-2@calabash-sandbox]$ bundle exec calabash-ios console
- Running irb...
- ######################### Useful Methods ##########################
- ids => List all the visible accessibility ids.
- labels => List all the visible accessibility labels.
- text => List all the visible texts.
- marks => List all the visible marks.
- tree => The app's visible view hierarchy.
- flash => flash(<query>); Disco effect for views matching <query>
- verbose => Turn debug logging on.
- quiet => Turn debug logging off.
- copy => Copy console commands to clipboard.
- clear => Clear the console.
- Calabash says, "Let's get this done!"
- Attached to: #<Launcher: DeviceAgent/ios_device_manager>
- calabash-ios 0.20.4> exit
- [dss-2@calabash-sandbox]$ bundle exec cucumber
- Feature: Sample Feature
- Scenario: Sample Scenario # features/sample.feature:3
- Given the app has launched # features/steps/sample_steps.rb:1
- And I have done a specific thing # features/steps/sample_steps.rb:7
- When I do something # features/steps/sample_steps.rb:32
- Then something should happen # features/steps/sample_steps.rb:41
- 1 scenario (1 passed)
- 4 steps (4 passed)
- 0m15.687s
- [dss-2@calabash-sandbox]$ bundle exec calabash-ios console
- Running irb...
- ######################### Useful Methods ##########################
- ids => List all the visible accessibility ids.
- labels => List all the visible accessibility labels.
- text => List all the visible texts.
- marks => List all the visible marks.
- tree => The app's visible view hierarchy.
- flash => flash(<query>); Disco effect for views matching <query>
- verbose => Turn debug logging on.
- quiet => Turn debug logging off.
- copy => Copy console commands to clipboard.
- clear => Clear the console.
- Calabash says, "Enjoy."
- calabash-ios 0.20.4> text
- Retrying.. Errno::ECONNREFUSED: (Connection refused - Connection refused - connect(2) (127.0.0.1:37265))
- Retrying.. Errno::ECONNREFUSED: (Connection refused - Connection refused - connect(2) (127.0.0.1:37265))
- Failing... Errno::ECONNREFUSED
- Errno::ECONNREFUSED: Connection refused - Connection refused - connect(2) (127.0.0.1:37265)
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:623:in `rescue in create_socket'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:607:in `create_socket'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:755:in `block in connect'
- from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/timeout.rb:66:in `timeout'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:748:in `connect'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:511:in `query'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:177:in `query'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1242:in `do_get_block'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1019:in `block in do_request'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1133:in `protect_keep_alive_disconnected'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1014:in `do_request'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:856:in `request'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:765:in `post'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/http_helpers.rb:64:in `block in make_http_request'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/http_helpers.rb:57:in `times'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/http_helpers.rb:57:in `make_http_request'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/http_helpers.rb:33:in `http'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/map.rb:88:in `raw_map'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/map.rb:58:in `map'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/core.rb:149:in `query'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/console_helpers.rb:218:in `text_marks'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/console_helpers.rb:25:in `text'
- from (irb):1
- from /usr/bin/irb:12:in `<main>'calabash-ios 0.20.4> text
- Retrying.. Errno::ECONNREFUSED: (Connection refused - Connection refused - connect(2) (127.0.0.1:37265))
- Retrying.. Errno::ECONNREFUSED: (Connection refused - Connection refused - connect(2) (127.0.0.1:37265))
- Failing... Errno::ECONNREFUSED
- Errno::ECONNREFUSED: Connection refused - Connection refused - connect(2) (127.0.0.1:37265)
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:623:in `rescue in create_socket'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:607:in `create_socket'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:755:in `block in connect'
- from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/timeout.rb:66:in `timeout'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:748:in `connect'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:511:in `query'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:177:in `query'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1242:in `do_get_block'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1019:in `block in do_request'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1133:in `protect_keep_alive_disconnected'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1014:in `do_request'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:856:in `request'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:765:in `post'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/http_helpers.rb:64:in `block in make_http_request'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/http_helpers.rb:57:in `times'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/http_helpers.rb:57:in `make_http_request'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/http_helpers.rb:33:in `http'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/map.rb:88:in `raw_map'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/map.rb:58:in `map'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/core.rb:149:in `query'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/console_helpers.rb:218:in `text_marks'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/console_helpers.rb:25:in `text'
- from (irb):2
- from /usr/bin/irb:12:in `<main>'calabash-ios 0.20.4> exit
- [dss-2@calabash-sandbox]$ bundle exec calabash-ios console
- Running irb...
- ######################### Useful Methods ##########################
- ids => List all the visible accessibility ids.
- labels => List all the visible accessibility labels.
- text => List all the visible texts.
- marks => List all the visible marks.
- tree => The app's visible view hierarchy.
- flash => flash(<query>); Disco effect for views matching <query>
- verbose => Turn debug logging on.
- quiet => Turn debug logging off.
- copy => Copy console commands to clipboard.
- clear => Clear the console.
- Calabash says, "Enjoy."
- calabash-ios 0.20.4> ids
- Retrying.. Errno::ECONNREFUSED: (Connection refused - Connection refused - connect(2) (127.0.0.1:37265))
- Retrying.. Errno::ECONNREFUSED: (Connection refused - Connection refused - connect(2) (127.0.0.1:37265))
- Failing... Errno::ECONNREFUSED
- Errno::ECONNREFUSED: Connection refused - Connection refused - connect(2) (127.0.0.1:37265)
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:623:in `rescue in create_socket'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:607:in `create_socket'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:755:in `block in connect'
- from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/timeout.rb:66:in `timeout'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:748:in `connect'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:511:in `query'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:177:in `query'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1242:in `do_get_block'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1019:in `block in do_request'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1133:in `protect_keep_alive_disconnected'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1014:in `do_request'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:856:in `request'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:765:in `post'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/http_helpers.rb:64:in `block in make_http_request'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/http_helpers.rb:57:in `times'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/http_helpers.rb:57:in `make_http_request'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/http_helpers.rb:33:in `http'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/map.rb:88:in `raw_map'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/map.rb:58:in `map'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/core.rb:149:in `query'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/console_helpers.rb:190:in `accessibility_marks'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/console_helpers.rb:15:in `ids'
- from (irb):1
- from /usr/bin/irb:12:in `<main>'calabash-ios 0.20.4> start_test_server_in_background
- > ^C
- calabash-ios 0.20.4> start_test_server_in_background
- #<Launcher: DeviceAgent/ios_device_manager>
- calabash-ios 0.20.4> ids
- [0] UIImageView => btnRecord
- [1] UIImageView => cashIc
- [2] UIImageView => icSwitchVideo
- [3] UIImageView => shareFbOff
- true
- calabash-ios 0.20.4> touch("* marked:'shareFbOff'")
- [
- [0] {
- "id" => nil,
- "description" => "<UIButton: 0x7fab0ae0f680; frame = (14 303; 58 58); opaque = NO; autoresize = RM+BM; layer = <CALayer: 0x600000036740>>",
- "label" => "shareFbOff",
- "frame" => {
- "y" => 303,
- "x" => 14,
- "width" => 58,
- "height" => 58
- },
- "accessibilityElement" => true,
- "value" => nil,
- "alpha" => 1,
- "enabled" => true,
- "visible" => 1,
- "selected" => false,
- "class" => "UIButton",
- "rect" => {
- "y" => 303,
- "center_x" => 43,
- "center_y" => 332,
- "x" => 14,
- "width" => 58,
- "height" => 58
- }
- }
- ]
- calabash-ios 0.20.4> tree
- [UIWindow]
- [UILayoutContainerView]
- [UINavigationTransitionView]
- [UIViewControllerWrapperView]
- [UIView]
- [UIView]
- [GPUImageView]
- [UIButton] [label:shareFbOn]
- [UIImageView] [id:shareFbOn]
- [UIView]
- [UITextField] [text:]
- [UIAccessibilityTextFieldElement] [text:Ngobrol dengan fans kamu...]
- [UIView]
- [UIView]
- [UIImageView]
- [UIButton]
- [UIView]
- [UIView]
- [UIImageView] [id:cashIc]
- [UILabel] [label:Rp 100.437] [text:Rp 100.437]
- [UIButton] [label:TARIK SALDO]
- [UIButtonLabel] [label:TARIK SALDO] [text:TARIK SALDO]
- [UIView]
- [UIButton] [label:icSwitchVideo]
- [UIImageView] [id:icSwitchVideo]
- [UIButton] [label:btnRecord]
- [UIImageView] [id:btnRecord]
- true
- calabash-ios 0.20.4> exit
- [dss-2@calabash-sandbox]$ bundle exec cucumber
- Feature: Sample Feature
- Scenario: Sample Scenario # features/sample.feature:3
- Given the app has launched # features/steps/sample_steps.rb:1
- And I have done a specific thing # features/steps/sample_steps.rb:7
- When I do something # features/steps/sample_steps.rb:32
- Then something should happen # features/steps/sample_steps.rb:41
- 1 scenario (1 passed)
- 4 steps (4 passed)
- 0m48.305s
- [dss-2@calabash-sandbox]$ bundle exec calabash-ios console
- Running irb...
- ######################### Useful Methods ##########################
- ids => List all the visible accessibility ids.
- labels => List all the visible accessibility labels.
- text => List all the visible texts.
- marks => List all the visible marks.
- tree => The app's visible view hierarchy.
- flash => flash(<query>); Disco effect for views matching <query>
- verbose => Turn debug logging on.
- quiet => Turn debug logging off.
- copy => Copy console commands to clipboard.
- clear => Clear the console.
- Calabash says, "Jestem tu by ocalić świat"
- calabash-ios 0.20.4> start_test_server_in_background
- #<Launcher: DeviceAgent/ios_device_manager>
- calabash-ios 0.20.4> labels
- [0] UIButton => share facebook
- [1] UILabel => Live sekarang! Berbagi serunya keseharian kamu juga bisa mendatangkan uang
- [2] UILabel => Masuk dengan
- true
- calabash-ios 0.20.4> ids
- [0] UIImageView => ic_mivo
- [1] UIImageView => share_facebook
- true
- calabash-ios 0.20.4> touch("* marked:'share_facebook'")
- [
- [0] {
- "alpha" => 1,
- "enabled" => false,
- "id" => "share_facebook",
- "visible" => 1,
- "frame" => {
- "y" => 0,
- "x" => 0,
- "width" => 249,
- "height" => 40
- },
- "accessibilityElement" => false,
- "class" => "UIImageView",
- "label" => nil,
- "description" => "<UIImageView: 0x7fde0c73aa80; frame = (0 0; 249 40); clipsToBounds = YES; opaque = NO; userInteractionEnabled = NO; layer = <CALayer: 0x608000221ce0>> - (null)",
- "value" => nil,
- "rect" => {
- "y" => 199,
- "center_x" => 500.5,
- "center_y" => 219,
- "x" => 376,
- "width" => 249,
- "height" => 40
- }
- }
- ]
- calabash-ios 0.20.4> marks
- [0] id => _UIRemoteView => RemoteViewBridge
- true
- calabash-ios 0.20.4> exit
- [dss-2@calabash-sandbox]$ bundle exec calabash-ios console
- Running irb...
- ######################### Useful Methods ##########################
- ids => List all the visible accessibility ids.
- labels => List all the visible accessibility labels.
- text => List all the visible texts.
- marks => List all the visible marks.
- tree => The app's visible view hierarchy.
- flash => flash(<query>); Disco effect for views matching <query>
- verbose => Turn debug logging on.
- quiet => Turn debug logging off.
- copy => Copy console commands to clipboard.
- clear => Clear the console.
- Calabash says, "Jestem tu by ocalić świat"
- Attached to: #<Launcher: DeviceAgent/ios_device_manager>
- calabash-ios 0.20.4> start_test_server_in_background
- HTTPClient::ReceiveTimeoutError: execution expired
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:805:in `gets'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:805:in `block in parse_header'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:801:in `parse_header'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:784:in `read_header'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:561:in `get_header'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1299:in `do_get_header'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1245:in `do_get_block'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1019:in `block in do_request'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1133:in `protect_keep_alive_disconnected'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1014:in `do_request'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:856:in `request'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:765:in `post'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/http/retriable_client.rb:184:in `send_request'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/http/retriable_client.rb:163:in `block in request'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/http/retriable_client.rb:150:in `times'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/http/retriable_client.rb:150:in `request'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/http/retriable_client.rb:93:in `post'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/device_agent/client.rb:1198:in `shutdown'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/automator/device_agent.rb:75:in `stop'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/launcher.rb:430:in `stop'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/core.rb:1767:in `stop_test_server'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/core.rb:1565:in `start_test_server_in_background'
- from (irb):1
- from /usr/bin/irb:12:in `<main>'calabash-ios 0.20.4> ids
- HTTPClient::ReceiveTimeoutError: execution expired
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:805:in `gets'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:805:in `block in parse_header'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:801:in `parse_header'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:784:in `read_header'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:561:in `get_header'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1299:in `do_get_header'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1245:in `do_get_block'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1019:in `block in do_request'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1133:in `protect_keep_alive_disconnected'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1014:in `do_request'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:856:in `request'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:765:in `post'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/http/retriable_client.rb:184:in `send_request'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/http/retriable_client.rb:163:in `block in request'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/http/retriable_client.rb:150:in `times'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/http/retriable_client.rb:150:in `request'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/http/retriable_client.rb:93:in `post'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/device_agent/client.rb:1538:in `_dismiss_springboard_alerts'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/http_helpers.rb:118:in `_private_dismiss_springboard_alerts'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/http_helpers.rb:22:in `http'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/map.rb:88:in `raw_map'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/map.rb:58:in `map'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/core.rb:149:in `query'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/console_helpers.rb:190:in `accessibility_marks'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/console_helpers.rb:15:in `ids'
- from (irb):2
- from /usr/bin/irb:12:in `<main>'calabash-ios 0.20.4> exit
- [dss-2@calabash-sandbox]$ bundle exec calabash-ios console
- Running irb...
- ######################### Useful Methods ##########################
- ids => List all the visible accessibility ids.
- labels => List all the visible accessibility labels.
- text => List all the visible texts.
- marks => List all the visible marks.
- tree => The app's visible view hierarchy.
- flash => flash(<query>); Disco effect for views matching <query>
- verbose => Turn debug logging on.
- quiet => Turn debug logging off.
- copy => Copy console commands to clipboard.
- clear => Clear the console.
- Calabash says, "Smile! You are on camera!"
- calabash-ios 0.20.4> start_test_server_in_background
- #<Launcher: DeviceAgent/ios_device_manager>
- calabash-ios 0.20.4> ids
- true
- calabash-ios 0.20.4> labels
- [0] UIButton => TARIK SALDO
- [1] UIButtonLabel => TARIK SALDO
- [2] UILabel => Rp 100.437
- true
- calabash-ios 0.20.4> text'
- exit
- ^C
- calabash-ios 0.20.4> text
- [0] UIButtonLabel => TARIK SALDO
- [1] UILabel => Rp 100.437
- true
- calabash-ios 0.20.4> ids
- true
- calabash-ios 0.20.4> ids
- true
- calabash-ios 0.20.4> mark
- NameError: undefined local variable or method `mark' for main:Object
- from (irb):10
- from /usr/bin/irb:12:in `<main>'
- calabash-ios 0.20.4> marks
- [0] label => UIButton => TARIK SALDO
- [1] label => UIButtonLabel => TARIK SALDO
- [2] text => UIButtonLabel => TARIK SALDO
- [3] label => UILabel => Rp 100.437
- [4] text => UILabel => Rp 100.437
- true
- calabash-ios 0.20.4> touch("* marked:'recordStopButton'")
- INFO: Embed is not available in this context. Will not embed.
- RuntimeError:
- Could not find any views with query:
- * marked:'recordStopButton'
- Make sure your query returns at least one view.
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/failure_helpers.rb:75:in `screenshot_and_raise'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/automator/device_agent.rb:361:in `query_for_coordinates'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/automator/device_agent.rb:90:in `touch'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/core.rb:1935:in `query_action_with_options'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/core.rb:290:in `touch'
- from (irb):12
- from /usr/bin/irb:12:in `<main>'
- calabash-ios 0.20.4> touch("* marked:'facebookButton'")
- INFO: Embed is not available in this context. Will not embed.
- RuntimeError:
- Could not find any views with query:
- * marked:'facebookButton'
- Make sure your query returns at least one view.
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/failure_helpers.rb:75:in `screenshot_and_raise'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/automator/device_agent.rb:361:in `query_for_coordinates'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/automator/device_agent.rb:90:in `touch'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/core.rb:1935:in `query_action_with_options'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/core.rb:290:in `touch'
- from (irb):13
- from /usr/bin/irb:12:in `<main>'
- calabash-ios 0.20.4> touch("* marked:'profileCoverButton'")
- INFO: Embed is not available in this context. Will not embed.
- RuntimeError:
- Could not find any views with query:
- * marked:'profileCoverButton'
- Make sure your query returns at least one view.
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/failure_helpers.rb:75:in `screenshot_and_raise'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/automator/device_agent.rb:361:in `query_for_coordinates'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/automator/device_agent.rb:90:in `touch'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/core.rb:1935:in `query_action_with_options'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/core.rb:290:in `touch'
- from (irb):14
- from /usr/bin/irb:12:in `<main>'
- calabash-ios 0.20.4> marks
- [0] label => UIButton => TARIK SALDO
- [1] label => UIButtonLabel => TARIK SALDO
- [2] text => UIButtonLabel => TARIK SALDO
- [3] label => UILabel => Rp 100.437
- [4] text => UILabel => Rp 100.437
- true
- calabash-ios 0.20.4> touch("* marked:'TARIK SALDO'")
- HTTPClient::ReceiveTimeoutError: execution expired
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:805:in `gets'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:805:in `block in parse_header'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:801:in `parse_header'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:784:in `read_header'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:561:in `get_header'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1299:in `do_get_header'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1245:in `do_get_block'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1019:in `block in do_request'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1133:in `protect_keep_alive_disconnected'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1014:in `do_request'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:856:in `request'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:765:in `post'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/http/retriable_client.rb:184:in `send_request'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/http/retriable_client.rb:163:in `block in request'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/http/retriable_client.rb:150:in `times'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/http/retriable_client.rb:150:in `request'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/http/retriable_client.rb:93:in `post'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/device_agent/client.rb:698:in `make_gesture_request'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/device_agent/client.rb:685:in `perform_coordinate_gesture'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/automator/device_agent.rb:92:in `touch'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/core.rb:1935:in `query_action_with_options'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/core.rb:290:in `touch'
- from (irb):16
- from /usr/bin/irb:12:in `<main>'calabash-ios 0.20.4> exit
- [dss-2@calabash-sandbox]$ bundle exec calabash-ios console
- Running irb...
- ######################### Useful Methods ##########################
- ids => List all the visible accessibility ids.
- labels => List all the visible accessibility labels.
- text => List all the visible texts.
- marks => List all the visible marks.
- tree => The app's visible view hierarchy.
- flash => flash(<query>); Disco effect for views matching <query>
- verbose => Turn debug logging on.
- quiet => Turn debug logging off.
- copy => Copy console commands to clipboard.
- clear => Clear the console.
- Calabash says, "Enjoy."
- Attached to: #<Launcher: DeviceAgent/ios_device_manager>
- calabash-ios 0.20.4> tree
- ^CIRB::Abort: abort then interrupt!
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:805:in `call'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:805:in `gets'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:805:in `block in parse_header'
- from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/timeout.rb:66:in `timeout'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:801:in `parse_header'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:784:in `read_header'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient/session.rb:561:in `get_header'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1299:in `do_get_header'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1245:in `do_get_block'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1019:in `block in do_request'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1133:in `protect_keep_alive_disconnected'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:1014:in `do_request'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:856:in `request'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/httpclient-2.8.3/lib/httpclient.rb:765:in `post'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/http/retriable_client.rb:184:in `send_request'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/http/retriable_client.rb:163:in `block in request'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/http/retriable_client.rb:150:in `times'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/http/retriable_client.rb:150:in `request'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/http/retriable_client.rb:93:in `post'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/run_loop-2.3.1/lib/run_loop/device_agent/client.rb:1538:in `_dismiss_springboard_alerts'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/http_helpers.rb:118:in `_private_dismiss_springboard_alerts'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/http_helpers.rb:22:in `http'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/connection_helpers.rb:14:in `http'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/console_helpers.rb:250:in `http_fetch_view_hierarchy'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/console_helpers.rb:8:in `tree'
- from (irb):1
- from /usr/bin/irb:12:in `<main>'calabash-ios 0.20.4> ^C
- calabash-ios 0.20.4> start_test_server_in_background
- #<Launcher: DeviceAgent/ios_device_manager>
- calabash-ios 0.20.4> list
- NameError: undefined local variable or method `list' for main:Object
- from (irb):3
- from /usr/bin/irb:12:in `<main>'
- calabash-ios 0.20.4> ids
- [0] UIImageView => btnRecord
- [1] UIImageView => cashIc
- [2] UIImageView => icSwitchVideo
- [3] UIImageView => shareFbOff
- true
- calabash-ios 0.20.4> touch('facebookButton')
- INFO: Embed is not available in this context. Will not embed.
- RuntimeError:
- Could not find any views with query:
- facebookButton
- Make sure your query returns at least one view.
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/failure_helpers.rb:75:in `screenshot_and_raise'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/automator/device_agent.rb:361:in `query_for_coordinates'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/automator/device_agent.rb:90:in `touch'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/core.rb:1935:in `query_action_with_options'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/core.rb:290:in `touch'
- from (irb):5
- from /usr/bin/irb:12:in `<main>'
- calabash-ios 0.20.4> marks
- [0] label => UIButton => TARIK SALDO
- [1] label => UIButton => btnRecord
- [2] label => UIButton => icSwitchVideo
- [3] label => UIButton => shareFbOff
- [4] label => UIButtonLabel => TARIK SALDO
- [5] text => UIButtonLabel => TARIK SALDO
- [6] id => UIImageView => btnRecord
- [7] id => UIImageView => cashIc
- [8] id => UIImageView => icSwitchVideo
- [9] id => UIImageView => shareFbOff
- [10] label => UILabel => Rp 100.437
- [11] text => UILabel => Rp 100.437
- true
- calabash-ios 0.20.4> bundle exec cucumber
- NameError: undefined local variable or method `cucumber' for main:Object
- from (irb):7
- from /usr/bin/irb:12:in `<main>'
- calabash-ios 0.20.4> cucumber
- NameError: undefined local variable or method `cucumber' for main:Object
- from (irb):8
- from /usr/bin/irb:12:in `<main>'
- calabash-ios 0.20.4> marks
- [0] label => UIButton => TARIK SALDO
- [1] label => UIButton => btnRecord
- [2] label => UIButton => icSwitchVideo
- [3] label => UIButton => shareFbOff
- [4] label => UIButtonLabel => TARIK SALDO
- [5] text => UIButtonLabel => TARIK SALDO
- [6] id => UIImageView => btnRecord
- [7] id => UIImageView => cashIc
- [8] id => UIImageView => icSwitchVideo
- [9] id => UIImageView => shareFbOff
- [10] label => UILabel => Rp 100.437
- [11] text => UILabel => Rp 100.437
- true
- calabash-ios 0.20.4> exit
- [dss-2@calabash-sandbox]$ calabash-ios gen
- A features directory already exists. Stopping...
- [dss-2@calabash-sandbox]$ cucumber
- Feature: Sample Feature
- Scenario: Sample Scenario # features/sample.feature:3
- execution expired (HTTPClient::ReceiveTimeoutError)
- ./features/support/01_launch.rb:27:in `Before'
- Given the app has launched # features/steps/sample_steps.rb:1
- And I have done a specific thing # features/steps/sample_steps.rb:7
- When I do something # features/steps/sample_steps.rb:32
- Then something should happen # features/steps/sample_steps.rb:41
- Failing Scenarios:
- cucumber features/sample.feature:3 # Scenario: Sample Scenario
- 1 scenario (1 failed)
- 4 steps (4 skipped)
- 0m13.640s
- [dss-2@calabash-sandbox]$ cucumber
- Feature: Sample Feature
- Scenario: Sample Scenario # features/sample.feature:3
- Given the app has launched # features/steps/sample_steps.rb:1
- INFO: Embed is not available in this context. Will not embed.
- And I have done a specific thing # features/steps/sample_steps.rb:7
- Could not find any views with query:
- * marked:'fullScreenButton'
- Make sure your query returns at least one view.
- (RuntimeError)
- ./features/steps/sample_steps.rb:26:in `/^I have done a specific thing$/'
- features/sample.feature:5:in `And I have done a specific thing'
- When I do something # features/steps/sample_steps.rb:32
- Then something should happen # features/steps/sample_steps.rb:41
- Failing Scenarios:
- cucumber features/sample.feature:3 # Scenario: Sample Scenario
- 1 scenario (1 failed)
- 4 steps (1 failed, 2 skipped, 1 passed)
- 0m16.101s
- [dss-2@calabash-sandbox]$ list
- bash: list: command not found
- [dss-2@calabash-sandbox]$ bundle exec calabash-ios console
- Running irb...
- ######################### Useful Methods ##########################
- ids => List all the visible accessibility ids.
- labels => List all the visible accessibility labels.
- text => List all the visible texts.
- marks => List all the visible marks.
- tree => The app's visible view hierarchy.
- flash => flash(<query>); Disco effect for views matching <query>
- verbose => Turn debug logging on.
- quiet => Turn debug logging off.
- copy => Copy console commands to clipboard.
- clear => Clear the console.
- Calabash says, "Non Satis Scire"
- Attached to: #<Launcher: DeviceAgent/ios_device_manager>
- calabash-ios 0.20.4> ids
- [0] UIImageView => btnRecord
- [1] UIImageView => cashIc
- [2] UIImageView => icSwitchVideo
- [3] UIImageView => shareFbOff
- true
- calabash-ios 0.20.4> labels
- [0] UIButton => TARIK SALDO
- [1] UIButton => btnRecord
- [2] UIButton => icSwitchVideo
- [3] UIButton => shareFbOff
- [4] UIButtonLabel => TARIK SALDO
- [5] UILabel => Rp 100.437
- true
- calabash-ios 0.20.4> marks
- [0] label => UIButton => TARIK SALDO
- [1] label => UIButton => btnRecord
- [2] label => UIButton => icSwitchVideo
- [3] label => UIButton => shareFbOff
- [4] label => UIButtonLabel => TARIK SALDO
- [5] text => UIButtonLabel => TARIK SALDO
- [6] id => UIImageView => btnRecord
- [7] id => UIImageView => cashIc
- [8] id => UIImageView => icSwitchVideo
- [9] id => UIImageView => shareFbOff
- [10] label => UILabel => Rp 100.437
- [11] text => UILabel => Rp 100.437
- true
- calabash-ios 0.20.4> text
- [0] UIButtonLabel => TARIK SALDO
- [1] UILabel => Rp 100.437
- true
- calabash-ios 0.20.4> tree
- [UIWindow]
- [UILayoutContainerView]
- [UINavigationTransitionView]
- [UIViewControllerWrapperView]
- [UIView]
- [UIView]
- [GPUImageView]
- [UIButton] [label:shareFbOff]
- [UIImageView] [id:shareFbOff]
- [UIView]
- [UITextField] [text:]
- [UIAccessibilityTextFieldElement] [text:Ngobrol dengan fans kamu...]
- [UIView]
- [UIView]
- [UIImageView]
- [UIButton]
- [UIView]
- [UIView]
- [UIImageView] [id:cashIc]
- [UILabel] [label:Rp 100.437] [text:Rp 100.437]
- [UIButton] [label:TARIK SALDO]
- [UIButtonLabel] [label:TARIK SALDO] [text:TARIK SALDO]
- [UIView]
- [UIButton] [label:icSwitchVideo]
- [UIImageView] [id:icSwitchVideo]
- [UIButton] [label:btnRecord]
- [UIImageView] [id:btnRecord]
- true
- calabash-ios 0.20.4> exit
- [dss-2@calabash-sandbox]$ cucumber
- Feature: Sample Feature
- INFO: Embed is not available in this context. Will not embed.
- Scenario: Sample Scenario # features/sample.feature:3
- Given the app has launched # features/steps/sample_steps.rb:1
- Could not find any views with query:
- * marked:'fullScreenButton'
- Make sure your query returns at least one view.
- (RuntimeError)
- ./features/steps/sample_steps.rb:5:in `block (2 levels) in <top (required)>'
- ./features/steps/sample_steps.rb:2:in `/^the app has launched$/'
- features/sample.feature:4:in `Given the app has launched'
- And I have done a specific thing # features/steps/sample_steps.rb:9
- When I do something # features/steps/sample_steps.rb:33
- Then something should happen # features/steps/sample_steps.rb:42
- Failing Scenarios:
- cucumber features/sample.feature:3 # Scenario: Sample Scenario
- 1 scenario (1 failed)
- 4 steps (1 failed, 3 skipped)
- 0m15.636s
- [dss-2@calabash-sandbox]$ cucumber
- Feature: Sample Feature
- Scenario: Sample Scenario # features/sample.feature:3
- Given the app has launched # features/steps/sample_steps.rb:1
- And I have done a specific thing # features/steps/sample_steps.rb:9
- When I do something # features/steps/sample_steps.rb:33
- Then something should happen # features/steps/sample_steps.rb:42
- 1 scenario (1 passed)
- 4 steps (4 passed)
- 0m14.692s
- [dss-2@calabash-sandbox]$ cucumber
- Feature: Sample Feature
- Scenario: Sample Scenario # features/sample.feature:3
- Given the app has launched # features/steps/sample_steps.rb:1
- And I have done a specific thing # features/steps/sample_steps.rb:9
- When I do something # features/steps/sample_steps.rb:33
- Then something should happen # features/steps/sample_steps.rb:42
- 1 scenario (1 passed)
- 4 steps (4 passed)
- 0m15.620s
- [dss-2@calabash-sandbox]$ cucumber
- Feature: Sample Feature
- Scenario: Sample Scenario # features/sample.feature:3
- Given the app has launched # features/steps/sample_steps.rb:1
- And I have done a specific thing # features/steps/sample_steps.rb:9
- When I do something # features/steps/sample_steps.rb:33
- Then something should happen # features/steps/sample_steps.rb:42
- 1 scenario (1 passed)
- 4 steps (4 passed)
- 0m18.165s
- [dss-2@calabash-sandbox]$ cucumber
- Feature: Sample Feature
- Scenario: Sample Scenario # features/sample.feature:3
- Given the app has launched # features/steps/sample_steps.rb:1
- And I have done a specific thing # features/steps/sample_steps.rb:9
- When I do something # features/steps/sample_steps.rb:33
- Then something should happen # features/steps/sample_steps.rb:42
- 1 scenario (1 passed)
- 4 steps (4 passed)
- 0m19.214s
- [dss-2@calabash-sandbox]$ cucumber
- Feature: Sample Feature
- Scenario: Sample Scenario # features/sample.feature:3
- Given the app has launched # features/steps/sample_steps.rb:1
- And I have done a specific thing # features/steps/sample_steps.rb:9
- When I do something # features/steps/sample_steps.rb:33
- Then something should happen # features/steps/sample_steps.rb:42
- 1 scenario (1 passed)
- 4 steps (4 passed)
- 0m16.753s
- [dss-2@calabash-sandbox]$ cucumber
- Feature: Sample Feature
- Scenario: Sample Scenario # features/sample.feature:3
- Given the app has launched # features/steps/sample_steps.rb:1
- And I have done a specific thing # features/steps/sample_steps.rb:9
- When I do something # features/steps/sample_steps.rb:33
- Then something should happen # features/steps/sample_steps.rb:42
- 1 scenario (1 passed)
- 4 steps (4 passed)
- 0m18.569s
- [dss-2@calabash-sandbox]$ curl http://<ip>:192.168.1.25/version
- bash: ip: No such file or directory
- [dss-2@calabash-sandbox]$ curl http://<ip>:37265/version
- bash: ip: No such file or directory
- [dss-2@calabash-sandbox]$ curl http://<192.168.1.25>:80/version
- bash: 192.168.1.25: No such file or directory
- [dss-2@calabash-sandbox]$ curl http://<192.168.1.25>:37625/version
- bash: 192.168.1.25: No such file or directory
- [dss-2@calabash-sandbox]$ bundle show Gemfile
- Could not find gem 'Gemfile'.
- [dss-2@calabash-sandbox]$ cucumber
- Feature: Sample Feature
- Scenario: Sample Scenario # features/sample.feature:3
- Given the app has launched # features/steps/sample_steps.rb:1
- And I have done a specific thing # features/steps/sample_steps.rb:9
- When I do something # features/steps/sample_steps.rb:33
- Then something should happen # features/steps/sample_steps.rb:42
- 1 scenario (1 passed)
- 4 steps (4 passed)
- 0m18.172s
- [dss-2@calabash-sandbox]$ export BUNDLE_ID=com.mivo.live-cal
- [dss-2@calabash-sandbox]$ export DEVICE_TARGET=77f3c3065cf3132a846a5e7b70cc0ed583dc3964
- [dss-2@calabash-sandbox]$ export DEVICE_ENDPOINT=http://192.168.1.25:80
- [dss-2@calabash-sandbox]$ bundle exec calabash-ios console
- Running irb...
- ######################### Useful Methods ##########################
- ids => List all the visible accessibility ids.
- labels => List all the visible accessibility labels.
- text => List all the visible texts.
- marks => List all the visible marks.
- tree => The app's visible view hierarchy.
- flash => flash(<query>); Disco effect for views matching <query>
- verbose => Turn debug logging on.
- quiet => Turn debug logging off.
- copy => Copy console commands to clipboard.
- clear => Clear the console.
- Calabash says, "Enjoy."
- calabash-ios 0.20.4> start_test_server_in_background
- Calabash::Cucumber::ServerNotRespondingError: Could not connect to the Calabash Server @ http://192.168.1.25:80.
- See these two guides for help.
- * https://github.com/calabash/calabash-ios/wiki/Testing-on-Physical-Devices
- * https://github.com/calabash/calabash-ios/wiki/Testing-on-iOS-Simulators
- 1. Make sure your application is linked with Calabash.
- 2. Make sure there is not a firewall blocking traffic on http://192.168.1.25:80.
- 3. Make sure http://192.168.1.25:80 is correct.
- If your app is crashing at launch, find a crash report to determine the cause.
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/http/http.rb:97:in `raise_on_no_connectivity'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/http/http.rb:81:in `ensure_connectivity'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/launcher.rb:388:in `relaunch'
- from /Users/dss-2/.calabash/sandbox/Gems/gems/calabash-cucumber-0.20.4/lib/calabash-cucumber/core.rb:1567:in `start_test_server_in_background'
- from (irb):1
- from /usr/bin/irb:12:in `<main>'
- calabash-ios 0.20.4> exit
- [dss-2@calabash-sandbox]$ cucumber
- Feature: Sample Feature
- Scenario: Sample Scenario # features/sample.feature:3
- Could not connect to the Calabash Server @ http://192.168.1.25:80.
- See these two guides for help.
- * https://github.com/calabash/calabash-ios/wiki/Testing-on-Physical-Devices
- * https://github.com/calabash/calabash-ios/wiki/Testing-on-iOS-Simulators
- 1. Make sure your application is linked with Calabash.
- 2. Make sure there is not a firewall blocking traffic on http://192.168.1.25:80.
- 3. Make sure http://192.168.1.25:80 is correct.
- If your app is crashing at launch, find a crash report to determine the cause.
- (Calabash::Cucumber::ServerNotRespondingError)
- ./features/support/01_launch.rb:27:in `Before'
- Given the app has launched # features/steps/sample_steps.rb:1
- And I have done a specific thing # features/steps/sample_steps.rb:9
- When I do something # features/steps/sample_steps.rb:33
- Then something should happen # features/steps/sample_steps.rb:42
- Failing Scenarios:
- cucumber features/sample.feature:3 # Scenario: Sample Scenario
- 1 scenario (1 failed)
- 4 steps (4 skipped)
- 0m51.371s
- [dss-2@calabash-sandbox]$ cucumber
- Feature: Sample Feature
- Scenario: Sample Scenario # features/sample.feature:3
- Could not connect to the Calabash Server @ http://192.168.1.25:80.
- See these two guides for help.
- * https://github.com/calabash/calabash-ios/wiki/Testing-on-Physical-Devices
- * https://github.com/calabash/calabash-ios/wiki/Testing-on-iOS-Simulators
- 1. Make sure your application is linked with Calabash.
- 2. Make sure there is not a firewall blocking traffic on http://192.168.1.25:80.
- 3. Make sure http://192.168.1.25:80 is correct.
- If your app is crashing at launch, find a crash report to determine the cause.
- (Calabash::Cucumber::ServerNotRespondingError)
- ./features/support/01_launch.rb:27:in `Before'
- Given the app has launched # features/steps/sample_steps.rb:1
- And I have done a specific thing # features/steps/sample_steps.rb:9
- When I do something # features/steps/sample_steps.rb:33
- Then something should happen # features/steps/sample_steps.rb:42
- Failing Scenarios:
- cucumber features/sample.feature:3 # Scenario: Sample Scenario
- 1 scenario (1 failed)
- 4 steps (4 skipped)
- 0m49.558s
- [dss-2@calabash-sandbox]$ cucumber
- Feature: Sample Feature
- Scenario: Sample Scenario # features/sample.feature:3
- Could not connect to the Calabash Server @ http://192.168.1.25:80.
- See these two guides for help.
- * https://github.com/calabash/calabash-ios/wiki/Testing-on-Physical-Devices
- * https://github.com/calabash/calabash-ios/wiki/Testing-on-iOS-Simulators
- 1. Make sure your application is linked with Calabash.
- 2. Make sure there is not a firewall blocking traffic on http://192.168.1.25:80.
- 3. Make sure http://192.168.1.25:80 is correct.
- If your app is crashing at launch, find a crash report to determine the cause.
- (Calabash::Cucumber::ServerNotRespondingError)
- ./features/support/01_launch.rb:27:in `Before'
- Given the app has launched # features/steps/sample_steps.rb:1
- And I have done a specific thing # features/steps/sample_steps.rb:8
- When I do something # features/steps/sample_steps.rb:32
- Then something should happen # features/steps/sample_steps.rb:41
- Failing Scenarios:
- cucumber features/sample.feature:3 # Scenario: Sample Scenario
- 1 scenario (1 failed)
- 4 steps (4 skipped)
- 0m49.499s
- [dss-2@calabash-sandbox]$ cucumber
- Feature: Sample Feature
- Scenario: Sample Scenario # features/sample.feature:3
- Could not connect to the Calabash Server @ http://192.168.1.25:80.
- See these two guides for help.
- * https://github.com/calabash/calabash-ios/wiki/Testing-on-Physical-Devices
- * https://github.com/calabash/calabash-ios/wiki/Testing-on-iOS-Simulators
- 1. Make sure your application is linked with Calabash.
- 2. Make sure there is not a firewall blocking traffic on http://192.168.1.25:80.
- 3. Make sure http://192.168.1.25:80 is correct.
- If your app is crashing at launch, find a crash report to determine the cause.
- (Calabash::Cucumber::ServerNotRespondingError)
- ./features/support/01_launch.rb:27:in `Before'
- Given the app has launched # features/steps/sample_steps.rb:1
- And I have done a specific thing # features/steps/sample_steps.rb:8
- When I do something # features/steps/sample_steps.rb:32
- Then something should happen # features/steps/sample_steps.rb:41
- Failing Scenarios:
- cucumber features/sample.feature:3 # Scenario: Sample Scenario
- 1 scenario (1 failed)
- 4 steps (4 skipped)
- 0m47.612s
- [dss-2@calabash-sandbox]$ export BUNDLE_ID=com.mivo.live-cal
- [dss-2@calabash-sandbox]$ export DEVICE_TARGET=77f3c3065cf3132a846a5e7b70cc0ed583dc3964
- [dss-2@calabash-sandbox]$ export DEVICE_ENDPOINT=http://192.168.1.25:37265
- [dss-2@calabash-sandbox]$ bundle exec calabash-ios console
- Running irb...
- ######################### Useful Methods ##########################
- ids => List all the visible accessibility ids.
- labels => List all the visible accessibility labels.
- text => List all the visible texts.
- marks => List all the visible marks.
- tree => The app's visible view hierarchy.
- flash => flash(<query>); Disco effect for views matching <query>
- verbose => Turn debug logging on.
- quiet => Turn debug logging off.
- copy => Copy console commands to clipboard.
- clear => Clear the console.
- Calabash says, "Can I get you a coffee?"
- Attached to: #<Launcher: DeviceAgent/ios_device_manager>
- calabash-ios 0.20.4> start_test_server_in_background
- #<Launcher: DeviceAgent/ios_device_manager>
- calabash-ios 0.20.4> start_test_server_in_background
- #<Launcher: DeviceAgent/ios_device_manager>
- calabash-ios 0.20.4> exit
- [dss-2@calabash-sandbox]$ export BUNDLE_ID=com.mivo.live-cal
- [dss-2@calabash-sandbox]$ export DEVICE_TARGET=77f3c3065cf3132a846a5e7b70cc0ed583dc3964
- [dss-2@calabash-sandbox]$ export DEVICE_ENDPOINT=http://192.168.1.25:37265
- [dss-2@calabash-sandbox]$ bundle exec cucumber
- Feature: Sample Feature
- Scenario: Sample Scenario # features/sample.feature:3
- Given the app has launched # features/steps/sample_steps.rb:1
- And I have done a specific thing # features/steps/sample_steps.rb:8
- When I do something # features/steps/sample_steps.rb:32
- Then something should happen # features/steps/sample_steps.rb:41
- 1 scenario (1 passed)
- 4 steps (4 passed)
- 0m40.368s
- [dss-2@calabash-sandbox]$ bundle exec cucumber
- Feature: Sample Feature
- Scenario: Sample Scenario # features/sample.feature:3
- Given the app has launched # features/steps/sample_steps.rb:1
- And I have done a specific thing # features/steps/sample_steps.rb:9
- When I do something # features/steps/sample_steps.rb:33
- Then something should happen # features/steps/sample_steps.rb:42
- 1 scenario (1 passed)
- 4 steps (4 passed)
- 0m40.308s
- [dss-2@calabash-sandbox]$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement