mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-01-06 04:58:01 -05:00
41 lines
1.1 KiB
Dart
41 lines
1.1 KiB
Dart
import 'package:flutter_test/flutter_test.dart';
|
|
import 'package:integration_test/integration_test.dart';
|
|
|
|
import 'fixtures.dart';
|
|
import 'test_veilid_config.dart';
|
|
|
|
void main() {
|
|
IntegrationTestWidgetsFlutterBinding.ensureInitialized();
|
|
|
|
group('VeilidConfig', () {
|
|
final fixture = DefaultFixture();
|
|
setUp(fixture.setUp);
|
|
tearDown(fixture.tearDown);
|
|
|
|
test('test VeilidConfig defaults', testVeilidConfigDefaults);
|
|
});
|
|
|
|
// group('end-to-end test', () {
|
|
// testWidgets('tap on the floating action button, verify counter',
|
|
// (tester) async {
|
|
// // Load app widget.
|
|
// await tester.pumpWidget(const MyApp());
|
|
|
|
// // Verify the counter starts at 0.
|
|
// expect(find.text('0'), findsOneWidget);
|
|
|
|
// // Finds the floating action button to tap on.
|
|
// final fab = find.byKey(const Key('increment'));
|
|
|
|
// // Emulate a tap on the floating action button.
|
|
// await tester.tap(fab);
|
|
|
|
// // Trigger a frame.
|
|
// await tester.pumpAndSettle();
|
|
|
|
// // Verify the counter increments by 1.
|
|
// expect(find.text('1'), findsOneWidget);
|
|
// });
|
|
// });
|
|
}
|