more fixes to unstable impeller goldens. (#143811)

Part of  https://github.com/flutter/flutter/issues/143616
This commit is contained in:
Jonah Williams 2024-02-20 19:14:19 -08:00 committed by GitHub
parent 35bdc94dda
commit f58a162da0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 0 deletions

View file

@ -2825,6 +2825,7 @@ void main() {
testWidgets('Material3 - SnackBars should be shown above the bottomSheet', (WidgetTester tester) async {
await tester.pumpWidget(MaterialApp(
theme: ThemeData(useMaterial3: true),
debugShowCheckedModeBanner: false, // https://github.com/flutter/flutter/issues/143616
home: const Scaffold(
bottomSheet: SizedBox(
width: 200,
@ -2908,6 +2909,7 @@ void main() {
testWidgets('Material2 - ScaffoldMessenger presents SnackBars to only the root Scaffold when Scaffolds are nested.', (WidgetTester tester) async {
await tester.pumpWidget(MaterialApp(
theme: ThemeData(useMaterial3: false),
debugShowCheckedModeBanner: false, // https://github.com/flutter/flutter/issues/143616
home: Scaffold(
body: const Scaffold(),
floatingActionButton: FloatingActionButton(onPressed: () {}),
@ -2941,6 +2943,7 @@ void main() {
testWidgets('Material3 - ScaffoldMessenger presents SnackBars to only the root Scaffold when Scaffolds are nested.', (WidgetTester tester) async {
await tester.pumpWidget(MaterialApp(
theme: ThemeData(useMaterial3: true),
debugShowCheckedModeBanner: false, // https://github.com/flutter/flutter/issues/143616
home: Scaffold(
body: const Scaffold(),
floatingActionButton: FloatingActionButton(onPressed: () {}),

View file

@ -96,6 +96,7 @@ void main() {
child: MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(useMaterial3: false, primarySwatch: Colors.blue),
debugShowCheckedModeBanner: false, // https://github.com/flutter/flutter/issues/143616
home: Scaffold(
appBar: AppBar(
title: const Text('Matrix ImageFilter Test'),
@ -133,6 +134,7 @@ void main() {
child: MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(useMaterial3: false, primarySwatch: Colors.blue),
debugShowCheckedModeBanner: false, // https://github.com/flutter/flutter/issues/143616
home: Scaffold(
appBar: AppBar(
title: const Text('Matrix ImageFilter Test'),