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
6c7ddb85
Unverified
Commit
6c7ddb85
authored
Sep 13, 2023
by
hangyu
Committed by
GitHub
Sep 13, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update BottomSheetTest (#134562)
parent
57d2bad7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
bottom_sheet_test.dart
packages/flutter/test/material/bottom_sheet_test.dart
+2
-8
No files found.
packages/flutter/test/material/bottom_sheet_test.dart
View file @
6c7ddb85
...
...
@@ -1673,8 +1673,7 @@ void main() {
});
group
(
'Modal BottomSheet avoids overlapping display features'
,
()
{
testWidgetsWithLeakTracking
(
'positioning using anchorPoint'
,
(
WidgetTester
tester
)
async
{
testWidgetsWithLeakTracking
(
'positioning using anchorPoint'
,
(
WidgetTester
tester
)
async
{
await
tester
.
pumpWidget
(
MaterialApp
(
builder:
(
BuildContext
context
,
Widget
?
child
)
{
...
...
@@ -1710,12 +1709,7 @@ void main() {
// Should take the right side of the screen
expect
(
tester
.
getTopLeft
(
find
.
byType
(
Placeholder
)).
dx
,
410
);
expect
(
tester
.
getBottomRight
(
find
.
byType
(
Placeholder
)).
dx
,
800
);
},
leakTrackingTestConfig:
const
LeakTrackingTestConfig
(
// TODO(polina-c): remove after fix
// https://github.com/flutter/flutter/issues/133594
notDisposedAllowList:
<
String
,
int
?>
{
'ValueNotifier<EdgeInsets>'
:
1
}
));
});
testWidgetsWithLeakTracking
(
'positioning using Directionality'
,
(
WidgetTester
tester
)
async
{
await
tester
.
pumpWidget
(
...
...
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