diff --git a/TestsUI/ContactsTester.m b/TestsUI/ContactsTester.m index d18767a12..974364600 100644 --- a/TestsUI/ContactsTester.m +++ b/TestsUI/ContactsTester.m @@ -14,8 +14,11 @@ #pragma mark - Setup -- (void)beforeAll { - [super beforeAll]; +- (void)beforeEach { + [super beforeEach]; + if ([tester tryFindingTappableViewWithAccessibilityLabel:@"Back" error:nil]) { + [tester tapViewWithAccessibilityLabel:@"Back"]; + } [tester tapViewWithAccessibilityLabel:@"Contacts"]; }