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
93a3ce7a
Unverified
Commit
93a3ce7a
authored
Jul 16, 2019
by
Dan Field
Committed by
GitHub
Jul 16, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable flaky tests on Windows (#36317)
parent
aa9a1151
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
date_picker_test.dart
packages/flutter/test/material/date_picker_test.dart
+3
-7
No files found.
packages/flutter/test/material/date_picker_test.dart
View file @
93a3ce7a
...
@@ -16,11 +16,7 @@ import 'feedback_tester.dart';
...
@@ -16,11 +16,7 @@ import 'feedback_tester.dart';
void
main
(
)
{
void
main
(
)
{
group
(
'showDatePicker'
,
()
{
group
(
'showDatePicker'
,
()
{
_tests
();
_tests
();
},
});
// Skip on Windows because this test is quite flaky when run on Windows,
// until https://github.com/flutter/flutter/issues/19696 is fixed.
skip:
isWindows
||
isBrowser
,
);
}
}
void
_tests
(
)
{
void
_tests
(
)
{
...
@@ -106,7 +102,7 @@ void _tests() {
...
@@ -106,7 +102,7 @@ void _tests() {
await
tester
.
tap
(
find
.
text
(
'17'
));
await
tester
.
tap
(
find
.
text
(
'17'
));
await
tester
.
pumpAndSettle
();
await
tester
.
pumpAndSettle
();
expect
(
_selectedDate
,
equals
(
DateTime
(
2016
,
DateTime
.
august
,
17
)));
expect
(
_selectedDate
,
equals
(
DateTime
(
2016
,
DateTime
.
august
,
17
)));
}
);
}
,
skip:
isWindows
);
// TODO(dnfield): these are flaky on Windows https://github.com/flutter/flutter#19696
testWidgets
(
'render picker with intrinsic dimensions'
,
(
WidgetTester
tester
)
async
{
testWidgets
(
'render picker with intrinsic dimensions'
,
(
WidgetTester
tester
)
async
{
await
tester
.
pumpWidget
(
await
tester
.
pumpWidget
(
...
@@ -132,7 +128,7 @@ void _tests() {
...
@@ -132,7 +128,7 @@ void _tests() {
),
),
);
);
await
tester
.
pump
(
const
Duration
(
seconds:
5
));
await
tester
.
pump
(
const
Duration
(
seconds:
5
));
}
);
}
,
skip:
isWindows
);
// TODO(dnfield): these are flaky on Windows https://github.com/flutter/flutter#19696
Future
<
void
>
preparePicker
(
WidgetTester
tester
,
Future
<
void
>
callback
(
Future
<
DateTime
>
date
))
async
{
Future
<
void
>
preparePicker
(
WidgetTester
tester
,
Future
<
void
>
callback
(
Future
<
DateTime
>
date
))
async
{
BuildContext
buttonContext
;
BuildContext
buttonContext
;
...
...
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