Fakultas Ilmu Komputer UI

Commit 01123ea9 authored by Habel Christiando Tobing's avatar Habel Christiando Tobing
Browse files

[REFACTOR] modified tests.

parent 859c5d77
Pipeline #77258 passed with stages
in 11 minutes
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:fundex_app/pages/business/Ukm.dart';
import 'package:fundex_app/pages/business/exploreBusiness.dart';
void main() {
......@@ -52,7 +51,6 @@ void main() {
testWidgets('Testing filter and sort', (WidgetTester tester) async {
// initialize
final exploreBusiness = ExploreBusiness();
final ukmCardHealth = find.byKey(Key('ukmCard: Health'));
final ukmCardEntertainment = find.byKey(Key('ukmCard: Entertainment'));
final ukmCardEdu = find.byKey(Key('ukmCard: Edu'));
......@@ -61,7 +59,6 @@ void main() {
final progressDropDown = find.byKey(Key('progressDropDownButton'));
final urutkanDropDown = find.byKey(Key('urutkanDropDownButton'));
final clearFilter = find.byKey(Key('clearFilterTextButton'));
List<Ukm> ukmList = exploreBusiness.createState().ukmList;
// execute
await tester.pumpWidget(MaterialApp(
home: ExploreBusiness(),
......
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