Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit 94c585a

Browse files
author
Chris Yang
committed
enable test
1 parent 0829ecf commit 94c585a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/google_maps_flutter/google_maps_flutter/example/ios/RunnerUITests/GoogleMapsUITests.m

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ - (void)setUp {
1717
self.app = [[XCUIApplication alloc] init];
1818
[self.app launch];
1919

20-
// The location permission interception is currently not working.
21-
// See: https://github.com/flutter/flutter/issues/93325.
2220
[self
2321
addUIInterruptionMonitorWithDescription:@"Permission popups"
2422
handler:^BOOL(XCUIElement *_Nonnull interruptingElement) {
@@ -44,15 +42,17 @@ - (void)setUp {
4442
}];
4543
}
4644

47-
// Temporarily disabled due to https://github.com/flutter/flutter/issues/93325
48-
- (void)skip_testUserInterface {
45+
- (void)testUserInterface {
4946
XCUIApplication *app = self.app;
5047
XCUIElement *userInteface = app.staticTexts[@"User interface"];
5148
if (![userInteface waitForExistenceWithTimeout:30.0]) {
5249
os_log_error(OS_LOG_DEFAULT, "%@", app.debugDescription);
5350
XCTFail(@"Failed due to not able to find User interface");
5451
}
5552
[userInteface tap];
53+
// There is a known bug where the permission popups interruption won't get fired until a tap
54+
// happened in the app. We expect a permission popup so we do a tap here.
55+
[app tap];
5656
XCUIElement *platformView = app.otherElements[@"platform_view[0]"];
5757
if (![platformView waitForExistenceWithTimeout:30.0]) {
5858
os_log_error(OS_LOG_DEFAULT, "%@", app.debugDescription);

0 commit comments

Comments
 (0)