This repository was archived by the owner on Feb 22, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/google_maps_flutter/google_maps_flutter_ios/example/ios/RunnerUITests Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,6 @@ - (void)setUp {
1818 self.app = [[XCUIApplication alloc ] init ];
1919 [self .app launch ];
2020
21- // The location permission interception is currently not working.
22- // See: https://github.com/flutter/flutter/issues/93325.
2321 [self
2422 addUIInterruptionMonitorWithDescription: @" Permission popups"
2523 handler: ^BOOL (XCUIElement *_Nonnull interruptingElement) {
@@ -45,15 +43,17 @@ - (void)setUp {
4543 }];
4644}
4745
48- // Temporarily disabled due to https://github.com/flutter/flutter/issues/93325
49- - (void )skip_testUserInterface {
46+ - (void )testUserInterface {
5047 XCUIApplication *app = self.app ;
5148 XCUIElement *userInteface = app.staticTexts [@" User interface" ];
5249 if (![userInteface waitForExistenceWithTimeout: 30.0 ]) {
5350 os_log_error (OS_LOG_DEFAULT, " %@" , app.debugDescription );
5451 XCTFail (@" Failed due to not able to find User interface" );
5552 }
5653 [userInteface tap ];
54+ // There is a known bug where the permission popups interruption won't get fired until a tap
55+ // happened in the app. We expect a permission popup so we do a tap here.
56+ [app tap ];
5757 XCUIElement *platformView = app.otherElements [@" platform_view[0]" ];
5858 if (![platformView waitForExistenceWithTimeout: 30.0 ]) {
5959 os_log_error (OS_LOG_DEFAULT, " %@" , app.debugDescription );
You can’t perform that action at this time.
0 commit comments