forked from mirrors/linphone-iphone
TestsUI: add remote provisioning test
This commit is contained in:
parent
9b3f168cd1
commit
17cb27cd79
2 changed files with 8 additions and 1 deletions
|
|
@ -116,4 +116,11 @@
|
|||
}
|
||||
}
|
||||
|
||||
- (void)testRemoteProvisioning {
|
||||
[tester tapViewWithAccessibilityLabel:@"Start"];
|
||||
[tester tapViewWithAccessibilityLabel:@"Remote provisioning"];
|
||||
[tester enterTextIntoCurrentFirstResponder:@"smtp.linphone.org/testios_xml"];
|
||||
[tester tapViewWithAccessibilityLabel:@"Fetch"];
|
||||
[self waitForRegistration];
|
||||
}
|
||||
@end
|
||||
|
|
|
|||
|
|
@ -154,7 +154,7 @@
|
|||
|
||||
- (void)waitForRegistration {
|
||||
// wait for account to be registered
|
||||
int timeout = 15; // TODO: check why this is so wrong...
|
||||
int timeout = 15;
|
||||
while (timeout &&
|
||||
![tester tryFindingViewWithAccessibilityLabel:@"Registration state"
|
||||
value:@"Registered"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue