Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
0924b020
Commit
0924b020
authored
Nov 30, 2016
by
Luke Church
Committed by
GitHub
Nov 30, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Skip failing input tests (#6965)
* Skip failing input tests * Only skip on Mac OS
parent
f0c7f5a9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
input_test.dart
packages/flutter/test/widgets/input_test.dart
+4
-2
scrollable_fling_test.dart
packages/flutter/test/widgets/scrollable_fling_test.dart
+4
-2
No files found.
packages/flutter/test/widgets/input_test.dart
View file @
0924b020
...
...
@@ -3,6 +3,7 @@
// found in the LICENSE file.
import
'dart:async'
;
import
'dart:io'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/material.dart'
;
...
...
@@ -591,7 +592,8 @@ void main() {
await
tester
.
pumpWidget
(
builder
());
expect
(
inputValue
.
selection
.
isCollapsed
,
true
);
expect
(
inputValue
.
text
,
cutValue
);
});
},
skip:
Platform
.
isMacOS
);
// Skip due to https://github.com/flutter/flutter/issues/6961
testWidgets
(
'Can scroll multiline input'
,
(
WidgetTester
tester
)
async
{
GlobalKey
inputKey
=
new
GlobalKey
();
...
...
@@ -688,7 +690,7 @@ void main() {
expect
(
newFirstPos
.
y
,
firstPos
.
y
);
expect
(
inputBox
.
hitTest
(
new
HitTestResult
(),
position:
inputBox
.
globalToLocal
(
newFirstPos
)),
isTrue
);
expect
(
inputBox
.
hitTest
(
new
HitTestResult
(),
position:
inputBox
.
globalToLocal
(
newFourthPos
)),
isFalse
);
}
);
}
,
skip:
Platform
.
isMacOS
);
// Skip due to https://github.com/flutter/flutter/issues/6961
testWidgets
(
'InputField smoke test'
,
(
WidgetTester
tester
)
async
{
InputValue
inputValue
=
InputValue
.
empty
;
...
...
packages/flutter/test/widgets/scrollable_fling_test.dart
View file @
0924b020
...
...
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'dart:io'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/material.dart'
;
...
...
@@ -80,7 +82,7 @@ void main() {
await
tester
.
tap
(
find
.
byType
(
Scrollable
));
await
tester
.
pump
(
const
Duration
(
milliseconds:
50
));
expect
(
log
,
equals
(<
String
>[
'tap 18'
,
'tap 31'
]));
}
);
}
,
skip:
Platform
.
isMacOS
);
// Skip due to https://github.com/flutter/flutter/issues/6961
testWidgets
(
'fling and wait and tap'
,
(
WidgetTester
tester
)
async
{
List
<
String
>
log
=
<
String
>[];
...
...
@@ -102,5 +104,5 @@ void main() {
await
tester
.
tap
(
find
.
byType
(
Scrollable
));
await
tester
.
pump
(
const
Duration
(
milliseconds:
50
));
expect
(
log
,
equals
(<
String
>[
'tap 18'
,
'tap 43'
]));
}
);
}
,
skip:
Platform
.
isMacOS
);
// Skip due to https://github.com/flutter/flutter/issues/6961
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment