calabash-cucumber 0.12.0.pre4 → 0.12.0.pre5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/calabash-cucumber/rotation_helpers.rb +7 -2
- data/lib/calabash-cucumber/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 67e77c7aeadd2e71f0aa99dee6223504e88ea946
|
4
|
+
data.tar.gz: 1e4970c81205577ce3152263b20c5d956bfa91e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e4221997ecdde3663a12f83c2c769f82f5dcd2941fe05f9488c8573e0b871b6dc7fb685fc71bef9185981e387bc9e354fe9a8a7643bc32b08ddbd819e6d610e
|
7
|
+
data.tar.gz: c9d7a5525285b446deb05083238f9b1fe82c12789abf6e8c8be6c2b23eee3e3ba643d3b3e0ba327d6b0fd580bfbfdeaad957c56cefe0e48e00604c2d72bef2cc
|
@@ -90,7 +90,7 @@ module Calabash
|
|
90
90
|
playback(candidate)
|
91
91
|
# need a longer sleep for cloud testing
|
92
92
|
sleep(0.4)
|
93
|
-
|
93
|
+
recalibrate_after_rotation()
|
94
94
|
|
95
95
|
res = status_bar_orientation
|
96
96
|
if res.nil?
|
@@ -165,11 +165,16 @@ module Calabash
|
|
165
165
|
end
|
166
166
|
else
|
167
167
|
result = playback("rotate_#{rotate_cmd}")
|
168
|
-
|
168
|
+
recalibrate_after_rotation
|
169
169
|
result
|
170
170
|
end
|
171
171
|
end
|
172
172
|
|
173
|
+
def recalibrate_after_rotation
|
174
|
+
uia_tap_offset(x:0,y:0)
|
175
|
+
end
|
176
|
+
|
177
|
+
|
173
178
|
end
|
174
179
|
end
|
175
180
|
end
|
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.12.0.
|
4
|
+
version: 0.12.0.pre5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Karl Krukow
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-12-
|
11
|
+
date: 2014-12-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cucumber
|