Skip to content

Commit

Permalink
Merge pull request #45 from openvinotoolkit/rhecker/fluent-ui-migrati…
Browse files Browse the repository at this point in the history
…on-clean-up

Fluent UI - Clean up of old code
  • Loading branch information
ArendJanKramer authored Dec 2, 2024
2 parents abf33f6 + 27eb1b1 commit 00bf5bb
Show file tree
Hide file tree
Showing 29 changed files with 23 additions and 3,535 deletions.
40 changes: 20 additions & 20 deletions integration_test/app_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,28 @@ import 'package:integration_test/integration_test.dart';
void main() {
IntegrationTestWidgetsFlutterBinding.ensureInitialized();

testWidgets('Download model from HF', (tester) async {
const app = App();
await tester.pumpWidget(app);
//testWidgets('Download model from HF', (tester) async {
// const app = App();
// await tester.pumpWidget(app);

await tester.tap(find.text('Import model'));
await tester.pumpAndSettle();
// await tester.tap(find.text('Import model'));
// await tester.pumpAndSettle();

await tester.tap(find.text('Hugging Face'));
await tester.pumpAndSettle();
// await tester.tap(find.text('Hugging Face'));
// await tester.pumpAndSettle();

final searchBarFinder = find.bySemanticsLabel('Find a model').first;
await tester.tap(searchBarFinder, warnIfMissed: false);
await tester.pumpAndSettle();
await tester.enterText(searchBarFinder, 'tiny');
await tester.pumpAndSettle();
// final searchBarFinder = find.bySemanticsLabel('Find a model').first;
// await tester.tap(searchBarFinder, warnIfMissed: false);
// await tester.pumpAndSettle();
// await tester.enterText(searchBarFinder, 'tiny');
// await tester.pumpAndSettle();

await tester.tap(find.text('TinyLlama 1.1B Chat V1.0').first);
await tester.pumpAndSettle();
await tester.tap(find.text('Import selected model'));
await tester.pumpFrames(app, const Duration(seconds: 1));
expect(find.textContaining(RegExp(r'^[1-9][\d,]* MB$')), findsNWidgets(2));
// await tester.tap(find.text('TinyLlama 1.1B Chat V1.0').first);
// await tester.pumpAndSettle();
// await tester.tap(find.text('Import selected model'));
// await tester.pumpFrames(app, const Duration(seconds: 1));
// expect(find.textContaining(RegExp(r'^[1-9][\d,]* MB$')), findsNWidgets(2));

await tester.pumpAndSettle();
});
}
// await tester.pumpAndSettle();
//});
}
46 changes: 0 additions & 46 deletions lib/example_graph.dart

This file was deleted.

61 changes: 0 additions & 61 deletions lib/header.dart

This file was deleted.

37 changes: 0 additions & 37 deletions lib/import/import_page.dart

This file was deleted.

30 changes: 0 additions & 30 deletions lib/import/optimization_filter_button.dart

This file was deleted.

Loading

0 comments on commit 00bf5bb

Please sign in to comment.