Merge upstream/dev (2 commits) [upstream-sync]
This commit is contained in:
commit
b984e1d9a3
60 files changed
+989
-1472
No files matched your search
@@ -86,4 +86,21 @@ void main() {
|
||||
expect(find.byType(InkWell), findsNothing);
|
||||
expect(tester.getSize(find.byType(GetNodeBanner)).height, 0);
|
||||
});
|
||||
|
||||
testWidgets('stays hidden on a landscape phone', (tester) async {
|
||||
await pumpBanner(tester, size: const Size(740, 360), textScale: 1);
|
||||
await tester.pumpAndSettle();
|
||||
|
||||
expect(find.text('Need a new node?'), findsNothing);
|
||||
});
|
||||
|
||||
testWidgets('Close hides the banner', (tester) async {
|
||||
await pumpBanner(tester, size: const Size(390, 844), textScale: 1);
|
||||
await tester.pumpAndSettle();
|
||||
|
||||
await tester.tap(find.byTooltip('Close'));
|
||||
await tester.pumpAndSettle();
|
||||
|
||||
expect(find.text('Need a new node?'), findsNothing);
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user