forked from mirrors/linphone-iphone
travis: outch. Fix typo in registration delay...
This commit is contained in:
parent
1e4c5b58ad
commit
9b3f168cd1
1 changed files with 6 additions and 5 deletions
|
|
@ -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--;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue