Fakultas Ilmu Komputer UI

Commit 1a4e9c33 authored by Tsamara Esperanti Erwin's avatar Tsamara Esperanti Erwin
Browse files

[RED] Edit test for navbar icon

parent 8a1aeea9
......@@ -140,7 +140,7 @@ void main() {
testWidgets('Test initial to belanja saya loading',
(WidgetTester tester) async {
await tester.pumpWidget(testWidget);
await tester.tap(find.byIcon(Icons.shopping_cart).last);
await tester.tap(find.byIcon(Icons.receipt));
await tester.pumpAndSettle();
expect(find.text('Belanja Saya'), findsNWidgets(2));
});
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment