From 887b60ea169d918dcbb26665d3b3648a272f70d6 Mon Sep 17 00:00:00 2001 From: Gautier Pelloux-Prayer Date: Thu, 21 Jan 2016 12:09:16 +0100 Subject: [PATCH] UITester: stop debug test --- TestsUI/ChatTester.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;