1
0
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:
Aadarsh Patel
2020-03-02 23:29:58 +05:30
committed by GitHub
parent 1ca27ce6db
commit c6f6b5b757
3 changed files with 55 additions and 1 deletions

View File

@@ -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();