run_loop 1.1.1.pre8 → 1.1.1.pre9

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.5);
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.pre8
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-02 00:00:00.000000000 Z
11
+ date: 2014-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor