Unverified Commit aa04a056 authored by Jason Simmons's avatar Jason Simmons Committed by GitHub

Disable a text field test that fails on some Macs with libtxt (#14895)

parent eaa9b47a
...@@ -737,8 +737,8 @@ void main() { ...@@ -737,8 +737,8 @@ void main() {
expect(inputBox.hitTest(new HitTestResult(), position: inputBox.globalToLocal(newFirstPos)), isTrue); expect(inputBox.hitTest(new HitTestResult(), position: inputBox.globalToLocal(newFirstPos)), isTrue);
expect(inputBox.hitTest(new HitTestResult(), position: inputBox.globalToLocal(newFourthPos)), isFalse); expect(inputBox.hitTest(new HitTestResult(), position: inputBox.globalToLocal(newFourthPos)), isFalse);
}, },
// This test does not run as expected in the MacOS environment on Travis // This test fails on some Mac environments when libtxt is enabled.
skip: runningOnTravis && Platform.isMacOS); skip: Platform.isMacOS);
testWidgets('TextField smoke test', (WidgetTester tester) async { testWidgets('TextField smoke test', (WidgetTester tester) async {
String textFieldValue; String textFieldValue;
......
...@@ -320,8 +320,8 @@ void main() { ...@@ -320,8 +320,8 @@ void main() {
], ],
); );
}, },
// Ahem-based tests don't yet quite work on Windows or the MacOS environment in Travis // Ahem-based tests don't yet quite work on Windows or some MacOS environments
skip: Platform.isWindows || (runningOnTravis && Platform.isMacOS)); skip: Platform.isWindows || Platform.isMacOS);
test('TextPainter - line wrap mid-word', () { test('TextPainter - line wrap mid-word', () {
final TextPainter painter = new TextPainter() final TextPainter painter = new TextPainter()
......
...@@ -70,8 +70,8 @@ void main() { ...@@ -70,8 +70,8 @@ void main() {
expect(boxes.any((ui.TextBox box) => box.left == 250 && box.top == 0), isTrue); expect(boxes.any((ui.TextBox box) => box.left == 250 && box.top == 0), isTrue);
expect(boxes.any((ui.TextBox box) => box.right == 100 && box.top == 10), isTrue); expect(boxes.any((ui.TextBox box) => box.right == 100 && box.top == 10), isTrue);
}, },
// Ahem-based tests don't yet quite work on Windows or the MacOS environment in Travis // Ahem-based tests don't yet quite work on Windows or some MacOS environments
skip: Platform.isWindows || (runningOnTravis && Platform.isMacOS)); skip: Platform.isWindows || Platform.isMacOS);
test('getWordBoundary control test', () { test('getWordBoundary control test', () {
final RenderParagraph paragraph = new RenderParagraph( final RenderParagraph paragraph = new RenderParagraph(
......
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