Scroll: the Flutter operator console for the DBBASIC Object Server, for people building alongside AI agents.

0 downloads

dbbasic-scroll/test/widget_test.dart
Download zip
Clone
Clone with git
git clone https://gitstable.com/git/askrobots/dbbasic-scroll.git
HTTPS
https://gitstable.com/git/askrobots/dbbasic-scroll.git
SSH
ssh://git@gitstable.com:2222/askrobots/dbbasic-scroll.git

Cloning needs no sign-in. Pushing over HTTPS asks for your username and an access token. SSH needs your key under SSH keys.

quellhorst Extension fields + schema conflict field names e8a817f 4 months, 1 week ago History
widget_test.dart · 540 bytes · 18 lines
1import 'package:flutter_test/flutter_test.dart';
2import 'package:shared_preferences/shared_preferences.dart';
3
4import 'package:dbbasic_scroll/main.dart';
5
6void main() {
7 testWidgets('shows connect screen when no saved connection', (
8 WidgetTester tester,
9 ) async {
10 SharedPreferences.setMockInitialValues({});
11
12 await tester.pumpWidget(const ScrollApp());
13 await tester.pumpAndSettle();
14
15 expect(find.text('DBBasic Scroll'), findsOneWidget);
16 expect(find.text('Connect to your object server'), findsOneWidget);
17 });
18}