NetDesk 1.5.0 — source release
This commit is contained in:
commit
40318aafdd
227 files changed
+80798
No files matched your search
@@ -0,0 +1,22 @@
|
||||
// Smoke test for the NetDesk connect screen.
|
||||
//
|
||||
// Builds [NetDeskApp] directly (bypassing `main`, which would otherwise try to
|
||||
// load the native Rust engine) and verifies the brand mark and primary action
|
||||
// render.
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
|
||||
import 'package:netdesk/main.dart';
|
||||
|
||||
void main() {
|
||||
testWidgets('Connect screen shows the NetDesk brand and Connect button',
|
||||
(WidgetTester tester) async {
|
||||
await tester.pumpWidget(const NetDeskApp());
|
||||
|
||||
expect(find.text('NetDesk'), findsOneWidget);
|
||||
expect(find.text('by Akronlogic'), findsOneWidget);
|
||||
expect(find.text('Connect'), findsOneWidget);
|
||||
expect(find.byType(FilledButton), findsWidgets);
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user