Fakultas Ilmu Komputer UI

Commit bae7a128 authored by Usman Sidiq's avatar Usman Sidiq
Browse files

[REFACTOR] Delete wrong response test

parent 91f5ad5d
Pipeline #42252 failed with stages
in 3 minutes and 22 seconds
......@@ -27,18 +27,6 @@ void main() {
});
});
testWidgets('test login with credentials', (WidgetTester tester) async {
await tester.pumpWidget(MaterialApp(home: Login()));
expect(find.byKey(const Key("Text Field Akun")), findsOneWidget);
await tester.enterText(
find.byKey(const Key("Text Field Akun")), "dummy@mail.com");
expect(find.byKey(const Key("Text Field Password")), findsOneWidget);
await tester.enterText(
find.byKey(const Key("Text Field Password")), "dummypassword");
await tester.pump();
expect(find.text("Kamu mau kemana?"), findsOneWidget);
});
testWidgets('Find Username Text Field', (WidgetTester tester) async {
final textFieldKey = Key("Text Field Akun");
await tester.pumpWidget(MaterialApp(home: Login()));
......
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