diff --git a/TestsUI/ChatTester.m b/TestsUI/ChatTester.m index 33e44ca2e..9c143589a 100644 --- a/TestsUI/ChatTester.m +++ b/TestsUI/ChatTester.m @@ -82,8 +82,8 @@ // There are 9 photos by default, so lets use just 8 (2 rows, 4 columns). LOGI(@"Selecting photo at row %d, column %d", 1 + (ind / 4) % 2, 1 + ind % 4); [tester choosePhotoInAlbum:@"Camera Roll" atRow:1 + (ind / 4) % 2 column:1 + ind % 4]; - ASSERT_EQ(1, 3); // take dummy screenshot ind++; + [[UIApplication sharedApplication] writeScreenshotForLine:__LINE__ inFile:@__FILE__ description:nil error:NULL]; // wait for the quality popup to show up UIAccessibilityElement *element = nil;