Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
git-elliot committed Nov 10, 2024
1 parent 75fceb4 commit 04996c9
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions integration_test/app_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -53,24 +53,24 @@ void main() {
await tester.pumpAndSettle();
expect(find.byType(AdaptiveListTile), findsAtLeast(2));

final routerIconButton = find.byKey(Keys.routerOrGatewayTileIconButton);
// final routerIconButton = find.byKey(Keys.routerOrGatewayTileIconButton);

await tester.tap(routerIconButton);
await tester.pumpAndSettle();
expect(find.byType(AppBar), findsOne);
// await tester.tap(routerIconButton);
// await tester.pumpAndSettle();
// expect(find.byType(AppBar), findsOne);

final radioButton = find.byKey(Keys.rangePortScanRadioButton);
await tester.tap(radioButton);
await tester.pumpAndSettle();
// final radioButton = find.byKey(Keys.rangePortScanRadioButton);
// await tester.tap(radioButton);
// await tester.pumpAndSettle();

final portChip = find.byKey(Keys.knownPortChip);
// final portChip = find.byKey(Keys.knownPortChip);

await tester.tap(portChip);
await tester.pumpAndSettle();
// await tester.tap(portChip);
// await tester.pumpAndSettle();

final portScanButton = find.byKey(Keys.portScanButton);
await tester.tap(portScanButton);
await tester.pumpAndSettle();
// final portScanButton = find.byKey(Keys.portScanButton);
// await tester.tap(portScanButton);
// await tester.pumpAndSettle();
});

testWidgets('port scan returns open port for google.com', (tester) async {
Expand Down

0 comments on commit 04996c9

Please sign in to comment.