From 2a6229759ab460f2f9fac257e2d9e8bb50cdd95f Mon Sep 17 00:00:00 2001 From: Chris Yang Date: Fri, 2 Dec 2022 11:03:31 -0800 Subject: [PATCH] Revert "enable test (#5312)" This reverts commit 89ad5a9d6a337ab63ee8c122a59b9302f454a40f. --- .../example/ios/RunnerUITests/GoogleMapsUITests.m | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/google_maps_flutter/google_maps_flutter_ios/example/ios/RunnerUITests/GoogleMapsUITests.m b/packages/google_maps_flutter/google_maps_flutter_ios/example/ios/RunnerUITests/GoogleMapsUITests.m index b83d81b33135..f4cdb7c50ab2 100644 --- a/packages/google_maps_flutter/google_maps_flutter_ios/example/ios/RunnerUITests/GoogleMapsUITests.m +++ b/packages/google_maps_flutter/google_maps_flutter_ios/example/ios/RunnerUITests/GoogleMapsUITests.m @@ -18,6 +18,8 @@ - (void)setUp { self.app = [[XCUIApplication alloc] init]; [self.app launch]; + // The location permission interception is currently not working. + // See: https://github.com/flutter/flutter/issues/93325. [self addUIInterruptionMonitorWithDescription:@"Permission popups" handler:^BOOL(XCUIElement *_Nonnull interruptingElement) { @@ -43,7 +45,8 @@ - (void)setUp { }]; } -- (void)testUserInterface { +// Temporarily disabled due to https://github.com/flutter/flutter/issues/93325 +- (void)skip_testUserInterface { XCUIApplication *app = self.app; XCUIElement *userInteface = app.staticTexts[@"User interface"]; if (![userInteface waitForExistenceWithTimeout:30.0]) { @@ -51,9 +54,6 @@ - (void)testUserInterface { XCTFail(@"Failed due to not able to find User interface"); } [userInteface tap]; - // There is a known bug where the permission popups interruption won't get fired until a tap - // happened in the app. We expect a permission popup so we do a tap here. - [app tap]; XCUIElement *platformView = app.otherElements[@"platform_view[0]"]; if (![platformView waitForExistenceWithTimeout:30.0]) { os_log_error(OS_LOG_DEFAULT, "%@", app.debugDescription);