run_loop 1.1.1.pre8 → 1.1.1.pre9
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 +4 -4
- data/lib/run_loop/instruments.rb +8 -7
- data/lib/run_loop/sim_control.rb +1 -1
- data/lib/run_loop/version.rb +1 -1
- data/scripts/calabash_script_uia.js +3613 -3555
- data/scripts/run_loop_shared_element.js +2 -3
- metadata +2 -2
@@ -284,11 +284,10 @@ var _calabashSharedTextField = null,
|
|
284
284
|
},
|
285
285
|
_syncDoneJSON='{"type":"syncDone"}';
|
286
286
|
|
287
|
+
UIALogger.logMessage("Waiting for shared element...");
|
287
288
|
target = UIATarget.localTarget();
|
288
289
|
while (!_calabashSharedTextField) {
|
289
|
-
UIALogger.logMessage("Waiting for shared element...");
|
290
290
|
_firstElement = target.frontMostApp().mainWindow().elements()[0];
|
291
|
-
target.frontMostApp().mainWindow().logElementTree();
|
292
291
|
if (_firstElement instanceof UIATextField) {
|
293
292
|
if (_firstElement.name() == __calabashSharedTextFieldName) {
|
294
293
|
_calabashSharedTextField = _firstElement;
|
@@ -298,7 +297,7 @@ while (!_calabashSharedTextField) {
|
|
298
297
|
break;
|
299
298
|
}
|
300
299
|
}
|
301
|
-
target.delay(0.
|
300
|
+
target.delay(0.3);
|
302
301
|
}
|
303
302
|
|
304
303
|
while (true) {
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: run_loop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.1.
|
4
|
+
version: 1.1.1.pre9
|
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-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|