diff --git a/KifTests/ChatTester.m b/KifTests/ChatTester.m index 615f095bc..063717987 100644 --- a/KifTests/ChatTester.m +++ b/KifTests/ChatTester.m @@ -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;