mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
Added missing login page (#339)
This commit is contained in:
@@ -11,6 +11,10 @@ void main() {
|
||||
// Build our app and trigger a frame.
|
||||
await tester.pumpWidget(MyApp());
|
||||
|
||||
// Navigating through login page.
|
||||
await tester.tap(find.text('ENTER'));
|
||||
await tester.pumpAndSettle();
|
||||
|
||||
// Check that shopping cart is empty at start.
|
||||
await tester.tap(find.byIcon(Icons.shopping_cart));
|
||||
await tester.pumpAndSettle();
|
||||
|
||||
Reference in New Issue
Block a user