calabash-cucumber 0.9.150 → 0.9.151
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 65d842e54bba4c90f96d1e6e45af63c9d18c6c5e
|
4
|
+
data.tar.gz: 2ef76a18f37855579f0f1d1211abeca56364a57c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 065dd85fb3a090d48713c6a7a76bc41d4cbc45aba2b9f48836a420bdbbc063a96fa69143f5752bafadac27a450924828a359284dddb3cd8eeec503474f1e79b4
|
7
|
+
data.tar.gz: 90f4e515b68e12748210c7b4d66967a715edc021652ead2df6201a4091917e3fbadade7ddd627cc244a44cdd0f17fb4f67f5a57ceb344bc45959285e76153746
|
@@ -63,8 +63,14 @@ Then /^I (?:press|touch) list item number (\d+)$/ do |index|
|
|
63
63
|
end
|
64
64
|
|
65
65
|
Then /^I (?:press|touch) list item "([^\"]*)"$/ do |cell_name|
|
66
|
-
|
67
|
-
|
66
|
+
if
|
67
|
+
query("tableViewCell marked:'#{cell_name}'").empty?
|
68
|
+
then
|
69
|
+
touch("tableViewCell text:'#{cell_name}'")
|
70
|
+
else
|
71
|
+
touch("tableViewCell marked:'#{cell_name}'")
|
72
|
+
end
|
73
|
+
sleep(STEP_PAUSE)
|
68
74
|
end
|
69
75
|
|
70
76
|
Then /^I toggle the switch$/ do
|
@@ -399,7 +399,7 @@ EOF
|
|
399
399
|
end
|
400
400
|
|
401
401
|
if data.nil? and device=='ipad'
|
402
|
-
if ENV['
|
402
|
+
if ENV['CALABASH_FULL_CONSOLE_OUTPUT'] == '1'
|
403
403
|
puts "Unable to find recording for #{os} and #{device}. Trying with #{os} iphone"
|
404
404
|
end
|
405
405
|
recording = recording_name_for(recording_name, os, 'iphone')
|
@@ -19,8 +19,8 @@ module Calabash
|
|
19
19
|
|
20
20
|
DEFAULT_SIM_RETRY = 2
|
21
21
|
|
22
|
-
# Load environment variable for showing full console output
|
23
|
-
# If not env var set then we use
|
22
|
+
# Load environment variable for showing full console output.
|
23
|
+
# If not env var set then we use false, i.e. output to console is limited.
|
24
24
|
FULL_CONSOLE_OUTPUT = ENV['CALABASH_FULL_CONSOLE_OUTPUT'] == '1' ? true : false
|
25
25
|
|
26
26
|
def self.relaunch(path, sdk = nil, version = 'iphone', args = nil)
|
@@ -155,13 +155,15 @@ module Calabash
|
|
155
155
|
msg << "This should point to the location of your built app linked with calabash.\n"
|
156
156
|
raise msg.join("\n")
|
157
157
|
end
|
158
|
-
|
159
|
-
|
158
|
+
if FULL_CONSOLE_OUTPUT
|
159
|
+
puts("-"*37)
|
160
|
+
puts "Auto detected APP_BUNDLE_PATH:\n\n"
|
160
161
|
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
162
|
+
puts "APP_BUNDLE_PATH=#{preferred_dir || sim_dirs[0]}\n\n"
|
163
|
+
puts "Please verify!"
|
164
|
+
puts "If this is wrong please set it as APP_BUNDLE_PATH in features/support/01_launch.rb\n"
|
165
|
+
puts("-"*37)
|
166
|
+
end
|
165
167
|
bundle_path = sim_dirs[0]
|
166
168
|
end
|
167
169
|
bundle_path
|
@@ -102,7 +102,9 @@ class Calabash::Cucumber::Launcher
|
|
102
102
|
timeout = (ENV['CONNECT_TIMEOUT'] || 30).to_i
|
103
103
|
retry_count = 0
|
104
104
|
connected = false
|
105
|
-
|
105
|
+
if ENV['CALABASH_FULL_CONSOLE_OUTPUT'] == '1'
|
106
|
+
puts "Waiting for App to be ready"
|
107
|
+
end
|
106
108
|
until connected do
|
107
109
|
raise "MAX_RETRIES" if retry_count == max_retry_count
|
108
110
|
retry_count += 1
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: calabash-cucumber
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.151
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Karl Krukow
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-07-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cucumber
|