Fakultas Ilmu Komputer UI

Commit 6ebf218c authored by Bayukanta Iqbal Gunawan's avatar Bayukanta Iqbal Gunawan
Browse files

[RED] add test clear button

parent fcae1899
Pipeline #42291 failed with stages
in 3 minutes and 9 seconds
......@@ -34,7 +34,11 @@ void main(){
expect(find.byKey(simpanKey), findsOneWidget);
testWidgets('Batal Button Test', (WidgetTester tester) async {
final batalKey = Key("Batal Button");
await tester.pumpWidget(MaterialApp(home: AddInformasi()));
expect(find.byKey(batalKey), findsOneWidget);
test('Empty Info Test', () {
var result = FieldValidator.validateInfo('');
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