travis: outch. Fix typo in registration delay...

This commit is contained in:
Gautier Pelloux-Prayer 2015-10-02 14:33:34 +02:00
parent 1e4c5b58ad
commit 9b3f168cd1

View file

@ -154,11 +154,12 @@
- (void)waitForRegistration {
// wait for account to be registered
int timeout = 45; // TODO: check why this is so wrong...
while (timeout && [tester tryFindingViewWithAccessibilityLabel:@"Registration state"
value:@"Registered"
traits:UIAccessibilityTraitStaticText
error:nil]) {
int timeout = 15; // TODO: check why this is so wrong...
while (timeout &&
![tester tryFindingViewWithAccessibilityLabel:@"Registration state"
value:@"Registered"
traits:UIAccessibilityTraitStaticText
error:nil]) {
[tester waitForTimeInterval:1];
timeout--;
}