Unverified Commit e44fc135 authored by Gary Qian's avatar Gary Qian Committed by GitHub

Temporarily disable inconsistent golden tests due to test fonts (#27861)

parent dfce0a7f
...@@ -244,7 +244,8 @@ void main() { ...@@ -244,7 +244,8 @@ void main() {
find.byType(Container), find.byType(Container),
matchesGoldenFile('text_golden.StrutDefault.png'), matchesGoldenFile('text_golden.StrutDefault.png'),
); );
}, skip: !Platform.isLinux); }, skip: true); // Should only be on linux (skip: !Platform.isLinux).
// Disabled for now until font inconsistency is resolved.
testWidgets('Strut text 1', (WidgetTester tester) async { testWidgets('Strut text 1', (WidgetTester tester) async {
await tester.pumpWidget( await tester.pumpWidget(
...@@ -271,7 +272,8 @@ void main() { ...@@ -271,7 +272,8 @@ void main() {
find.byType(Container), find.byType(Container),
matchesGoldenFile('text_golden.Strut.1.png'), matchesGoldenFile('text_golden.Strut.1.png'),
); );
}, skip: !Platform.isLinux); }, skip: true); // Should only be on linux (skip: !Platform.isLinux).
// Disabled for now until font inconsistency is resolved.
testWidgets('Strut text 2', (WidgetTester tester) async { testWidgets('Strut text 2', (WidgetTester tester) async {
await tester.pumpWidget( await tester.pumpWidget(
...@@ -299,7 +301,8 @@ void main() { ...@@ -299,7 +301,8 @@ void main() {
find.byType(Container), find.byType(Container),
matchesGoldenFile('text_golden.Strut.2.png'), matchesGoldenFile('text_golden.Strut.2.png'),
); );
}, skip: !Platform.isLinux); }, skip: true); // Should only be on linux (skip: !Platform.isLinux).
// Disabled for now until font inconsistency is resolved.
testWidgets('Strut text rich', (WidgetTester tester) async { testWidgets('Strut text rich', (WidgetTester tester) async {
await tester.pumpWidget( await tester.pumpWidget(
...@@ -350,7 +353,8 @@ void main() { ...@@ -350,7 +353,8 @@ void main() {
find.byType(Container), find.byType(Container),
matchesGoldenFile('text_golden.Strut.3.png'), matchesGoldenFile('text_golden.Strut.3.png'),
); );
}, skip: !Platform.isLinux); }, skip: true); // Should only be on linux (skip: !Platform.isLinux).
// Disabled for now until font inconsistency is resolved.
testWidgets('Strut text font fallback', (WidgetTester tester) async { testWidgets('Strut text font fallback', (WidgetTester tester) async {
// Font Fallback // Font Fallback
...@@ -385,7 +389,8 @@ void main() { ...@@ -385,7 +389,8 @@ void main() {
find.byType(Container), find.byType(Container),
matchesGoldenFile('text_golden.Strut.4.png'), matchesGoldenFile('text_golden.Strut.4.png'),
); );
}, skip: !Platform.isLinux); }, skip: true); // Should only be on linux (skip: !Platform.isLinux).
// Disabled for now until font inconsistency is resolved.
testWidgets('Strut text rich forceStrutHeight', (WidgetTester tester) async { testWidgets('Strut text rich forceStrutHeight', (WidgetTester tester) async {
await tester.pumpWidget( await tester.pumpWidget(
...@@ -436,5 +441,6 @@ void main() { ...@@ -436,5 +441,6 @@ void main() {
find.byType(Container), find.byType(Container),
matchesGoldenFile('text_golden.StrutForce.1.png'), matchesGoldenFile('text_golden.StrutForce.1.png'),
); );
}, skip: !Platform.isLinux); }, skip: true); // Should only be on linux (skip: !Platform.isLinux).
// Disabled for now until font inconsistency is resolved.
} }
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