From 1264af51a07e5999a419eef85cd64fdbacd72e5f Mon Sep 17 00:00:00 2001 From: Guillaume BIENKOWSKI Date: Wed, 4 Mar 2015 22:27:40 +0100 Subject: [PATCH] Fix chat tester --- KifTests/ChatTester.m | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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;