run_loop 1.1.1.pre1 → 1.1.1.pre2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/run_loop/version.rb +1 -1
- data/scripts/run_loop_fast_uia.js +11 -5
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5aed9a3d8201f63a37840030f1a5f1546f1b797b
|
4
|
+
data.tar.gz: 416eaa3768ed27b66d77ea3c3df9e6c9a2f3aa6e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2be0670d8965174a841caeb073066da24251dcb3c4e58585508fa5f5c122f4b763cd5cf565df61ef5e1b58dcd560bb84aa7786eaae9895a907e00de3df85d76
|
7
|
+
data.tar.gz: 56110caaf37b4b8eb4e080ea307a40854a4bc73ddacbb721f2f590ed4f477c45c3c10242bffeee3e3d877933103390a0cec5d488bda6ed84034fb1aeb37843aa
|
data/lib/run_loop/version.rb
CHANGED
@@ -288,15 +288,21 @@ var target = null,
|
|
288
288
|
var sanitized = _sanitize(response),
|
289
289
|
i = 0,
|
290
290
|
MAX_TRIES=120,
|
291
|
-
res
|
291
|
+
res,
|
292
|
+
tmp;
|
292
293
|
|
293
294
|
for (i=0; i<MAX_TRIES; i+=1) {
|
294
295
|
UIALogger.logMessage("Write result...");
|
295
|
-
target.frontMostApp().preferencesValueForKey(__calabashResponse);
|
296
|
-
UIALogger.logMessage("Last response..."+
|
296
|
+
tmp = target.frontMostApp().preferencesValueForKey(__calabashResponse);
|
297
|
+
UIALogger.logMessage("Last response..."+tmp);
|
297
298
|
target.frontMostApp().setPreferencesValueForKey(sanitized, __calabashResponse);
|
299
|
+
res = target.frontMostApp().preferencesValueForKey(__calabashRequest);
|
298
300
|
res = target.frontMostApp().preferencesValueForKey(__calabashResponse);
|
299
|
-
UIALogger.logMessage("Next response..."+
|
301
|
+
UIALogger.logMessage("Next response..."+(res && res['value']));
|
302
|
+
target.delay(0.1);
|
303
|
+
res = target.frontMostApp().preferencesValueForKey(__calabashResponse);
|
304
|
+
UIALogger.logMessage("Post delay response..."+(res && res['value']));
|
305
|
+
|
300
306
|
if (res && res['index'] == sanitized['index']) {
|
301
307
|
UIALogger.logMessage("Storage succeeded: "+ res['index']);
|
302
308
|
return;
|
@@ -372,5 +378,5 @@ while (true) {
|
|
372
378
|
continue;
|
373
379
|
}
|
374
380
|
_expectedIndex = Math.max(_actualIndex+1, _expectedIndex+1);
|
375
|
-
target.delay(0.
|
381
|
+
target.delay(0.2);
|
376
382
|
}
|