Fix chat tester

This commit is contained in:
Guillaume BIENKOWSKI 2015-03-04 22:27:40 +01:00
parent 4cf9052071
commit 1264af51a0

View file

@ -78,11 +78,11 @@
[self startChatWith:user];
[self sendMessage:@"Hello Bro"];
[tester tapViewWithAccessibilityLabel:LOCALIZED(@"Edit") traits:UIAccessibilityTraitButton];
[tester tapViewWithAccessibilityLabel:@"Edit" traits:UIAccessibilityTraitButton];
[tester tapViewWithAccessibilityLabel:LOCALIZED(@"Delete message")];
[tester tapViewWithAccessibilityLabel:@"Delete message"];
[tester tapViewWithAccessibilityLabel:LOCALIZED(@"Edit") traits:UIAccessibilityTraitButton];
[tester tapViewWithAccessibilityLabel:@"Edit" traits:UIAccessibilityTraitButton];
@ -122,6 +122,8 @@
NSLog(@"Deleting an extra chat");
}
[tester tapViewWithAccessibilityLabel:@"Edit" traits:UIAccessibilityTraitButton]; // same as the first but it is "OK" on screen
// check that the tableview is empty
UITableView* tv = nil;
NSError* err = nil;