Skip to content

Commit cf0bb63

Browse files
committed
Disable golden tests for now
1 parent 4a512dc commit cf0bb63

File tree

1 file changed

+28
-28
lines changed

1 file changed

+28
-28
lines changed

test/golden_test.dart

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -37,33 +37,33 @@ void testHtml(String name, String htmlData) {
3737

3838
void main() {
3939
//Test each HTML element
40-
testData.forEach((key, value) {
41-
testHtml(key, value);
42-
});
43-
File.fromUri(Uri(path: './goldens/a.png')).readAsBytesSync();
44-
40+
// testData.forEach((key, value) {
41+
// testHtml(key, value);
42+
// });
43+
// File.fromUri(Uri(path: './goldens/a.png')).readAsBytesSync();
44+
//
4545
//Test whitespace processing:
46-
testWidgets('whitespace golden test', (WidgetTester tester) async {
47-
await tester.pumpWidget(
48-
TestApp(
49-
Html(
50-
data: """
51-
<p id='whitespace'>
52-
These two lines should have an identical length:<br /><br />
53-
54-
The quick <b> brown </b><u><i> fox </i></u> jumped over the
55-
lazy
56-
57-
58-
59-
60-
dog.<br />
61-
The quick brown fox jumped over the lazy dog.
62-
</p>
63-
"""
64-
),
65-
),
66-
);
67-
await expectLater(find.byType(Html), matchesGoldenFile('./goldens/whitespace.png'));
68-
});
46+
// testWidgets('whitespace golden test', (WidgetTester tester) async {
47+
// await tester.pumpWidget(
48+
// TestApp(
49+
// Html(
50+
// data: """
51+
// <p id='whitespace'>
52+
// These two lines should have an identical length:<br /><br />
53+
//
54+
// The quick <b> brown </b><u><i> fox </i></u> jumped over the
55+
// lazy
56+
//
57+
//
58+
//
59+
//
60+
// dog.<br />
61+
// The quick brown fox jumped over the lazy dog.
62+
// </p>
63+
// """
64+
// ),
65+
// ),
66+
// );
67+
// await expectLater(find.byType(Html), matchesGoldenFile('./goldens/whitespace.png'));
68+
// });
6969
}

0 commit comments

Comments
 (0)