diff --git a/testing/scenario_app/ios/Scenarios/ScenariosTests/AppLifecycleTests.m b/testing/scenario_app/ios/Scenarios/ScenariosTests/AppLifecycleTests.m index b2bf497cf36c5..3efa17413123a 100644 --- a/testing/scenario_app/ios/Scenarios/ScenariosTests/AppLifecycleTests.m +++ b/testing/scenario_app/ios/Scenarios/ScenariosTests/AppLifecycleTests.m @@ -227,7 +227,9 @@ - (void)testVisibleFlutterViewControllerRespondsToApplicationLifecycle { [engine setViewController:nil]; } -- (void)testFlutterViewControllerDetachingSendsApplicationLifecycle { +// TODO(cbracken): re-enable this test by removing the skip_ prefix once the source of its flakiness +// has been identified. https://github.com/flutter/flutter/issues/61620 +- (void)skip_testFlutterViewControllerDetachingSendsApplicationLifecycle { XCTestExpectation* engineStartedExpectation = [self expectationWithDescription:@"Engine started"]; // Let the engine finish booting (at the end of which the channels are properly set-up) before diff --git a/testing/scenario_app/ios/Scenarios/ScenariosTests/FlutterViewControllerInitialRouteTest.m b/testing/scenario_app/ios/Scenarios/ScenariosTests/FlutterViewControllerInitialRouteTest.m index baf9ad3441960..155430c815563 100644 --- a/testing/scenario_app/ios/Scenarios/ScenariosTests/FlutterViewControllerInitialRouteTest.m +++ b/testing/scenario_app/ios/Scenarios/ScenariosTests/FlutterViewControllerInitialRouteTest.m @@ -33,7 +33,9 @@ - (void)tearDown { [super tearDown]; } -- (void)testSettingInitialRoute { +// TODO(cbracken): re-enable this test by removing the skip_ prefix once the source of its flakiness +// has been identified. https://github.com/flutter/flutter/issues/61620 +- (void)skip_testSettingInitialRoute { self.flutterViewController = [[FlutterViewController alloc] initWithProject:nil initialRoute:@"myCustomInitialRoute" diff --git a/testing/scenario_app/run_ios_tests.sh b/testing/scenario_app/run_ios_tests.sh index 351b2c0e7e47d..225f88e977f2e 100755 --- a/testing/scenario_app/run_ios_tests.sh +++ b/testing/scenario_app/run_ios_tests.sh @@ -33,14 +33,9 @@ if [[ $# -eq 1 ]]; then FLUTTER_ENGINE="$1" fi -echo "iOS Scenarios tests currently disabled due to flakiness" -echo "See: https://github.com/flutter/flutter/issues/61620" - -# TODO(cbracken): re-enable when -# https://github.com/flutter/flutter/issues/61620 is fixed. -# cd ios/Scenarios -# set -o pipefail && xcodebuild -sdk iphonesimulator \ -# -scheme Scenarios \ -# -destination 'platform=iOS Simulator,name=iPhone 8' \ -# test \ -# FLUTTER_ENGINE="$FLUTTER_ENGINE" +cd ios/Scenarios +set -o pipefail && xcodebuild -sdk iphonesimulator \ + -scheme Scenarios \ + -destination 'platform=iOS Simulator,name=iPhone 8' \ + test \ + FLUTTER_ENGINE="$FLUTTER_ENGINE"