TestsUI: fix latest failing tests

This commit is contained in:
Gautier Pelloux-Prayer 2016-03-23 16:34:04 +01:00
parent 4002a2d081
commit 7eca07e091

View file

@ -109,8 +109,10 @@
- (void)testChatFromContactPhoneNumber {
[tester tapViewWithAccessibilityLabel:@"Contacts"];
NSString *fullName = [NSString stringWithFormat:@"Anna %@", self.me];
[self createContact:@"Anna" lastName:self.me phoneNumber:@"555-522-8243" SIPAddress:nil];
NSString *name = [UIDevice.currentDevice.identifierForVendor.UUIDString
substringFromIndex:UIDevice.currentDevice.identifierForVendor.UUIDString.length - 6];
NSString *fullName = [NSString stringWithFormat:@"Anna %@", name];
[self createContact:@"Anna" lastName:name phoneNumber:@"555-522-8243" SIPAddress:nil];
[tester tapViewWithAccessibilityLabel:@"Back"];
[tester tapViewWithAccessibilityLabel:@"All contacts filter"];