Unverified Commit f58a162d authored by Jonah Williams's avatar Jonah Williams Committed by GitHub

more fixes to unstable impeller goldens. (#143811)

Part of  https://github.com/flutter/flutter/issues/143616
parent 35bdc94d
...@@ -2825,6 +2825,7 @@ void main() { ...@@ -2825,6 +2825,7 @@ void main() {
testWidgets('Material3 - SnackBars should be shown above the bottomSheet', (WidgetTester tester) async { testWidgets('Material3 - SnackBars should be shown above the bottomSheet', (WidgetTester tester) async {
await tester.pumpWidget(MaterialApp( await tester.pumpWidget(MaterialApp(
theme: ThemeData(useMaterial3: true), theme: ThemeData(useMaterial3: true),
debugShowCheckedModeBanner: false, // https://github.com/flutter/flutter/issues/143616
home: const Scaffold( home: const Scaffold(
bottomSheet: SizedBox( bottomSheet: SizedBox(
width: 200, width: 200,
...@@ -2908,6 +2909,7 @@ void main() { ...@@ -2908,6 +2909,7 @@ void main() {
testWidgets('Material2 - ScaffoldMessenger presents SnackBars to only the root Scaffold when Scaffolds are nested.', (WidgetTester tester) async { testWidgets('Material2 - ScaffoldMessenger presents SnackBars to only the root Scaffold when Scaffolds are nested.', (WidgetTester tester) async {
await tester.pumpWidget(MaterialApp( await tester.pumpWidget(MaterialApp(
theme: ThemeData(useMaterial3: false), theme: ThemeData(useMaterial3: false),
debugShowCheckedModeBanner: false, // https://github.com/flutter/flutter/issues/143616
home: Scaffold( home: Scaffold(
body: const Scaffold(), body: const Scaffold(),
floatingActionButton: FloatingActionButton(onPressed: () {}), floatingActionButton: FloatingActionButton(onPressed: () {}),
...@@ -2941,6 +2943,7 @@ void main() { ...@@ -2941,6 +2943,7 @@ void main() {
testWidgets('Material3 - ScaffoldMessenger presents SnackBars to only the root Scaffold when Scaffolds are nested.', (WidgetTester tester) async { testWidgets('Material3 - ScaffoldMessenger presents SnackBars to only the root Scaffold when Scaffolds are nested.', (WidgetTester tester) async {
await tester.pumpWidget(MaterialApp( await tester.pumpWidget(MaterialApp(
theme: ThemeData(useMaterial3: true), theme: ThemeData(useMaterial3: true),
debugShowCheckedModeBanner: false, // https://github.com/flutter/flutter/issues/143616
home: Scaffold( home: Scaffold(
body: const Scaffold(), body: const Scaffold(),
floatingActionButton: FloatingActionButton(onPressed: () {}), floatingActionButton: FloatingActionButton(onPressed: () {}),
......
...@@ -96,6 +96,7 @@ void main() { ...@@ -96,6 +96,7 @@ void main() {
child: MaterialApp( child: MaterialApp(
title: 'Flutter Demo', title: 'Flutter Demo',
theme: ThemeData(useMaterial3: false, primarySwatch: Colors.blue), theme: ThemeData(useMaterial3: false, primarySwatch: Colors.blue),
debugShowCheckedModeBanner: false, // https://github.com/flutter/flutter/issues/143616
home: Scaffold( home: Scaffold(
appBar: AppBar( appBar: AppBar(
title: const Text('Matrix ImageFilter Test'), title: const Text('Matrix ImageFilter Test'),
...@@ -133,6 +134,7 @@ void main() { ...@@ -133,6 +134,7 @@ void main() {
child: MaterialApp( child: MaterialApp(
title: 'Flutter Demo', title: 'Flutter Demo',
theme: ThemeData(useMaterial3: false, primarySwatch: Colors.blue), theme: ThemeData(useMaterial3: false, primarySwatch: Colors.blue),
debugShowCheckedModeBanner: false, // https://github.com/flutter/flutter/issues/143616
home: Scaffold( home: Scaffold(
appBar: AppBar( appBar: AppBar(
title: const Text('Matrix ImageFilter Test'), title: const Text('Matrix ImageFilter Test'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment