fix(ui): landing copy reflects real mode (live hub is the default)
The landing CTA hard-coded 'Demo-Modus' and 'Live-Hub-Anbindung folgt in Woche 1' — stale now that live mode is the default and works. CTA is just 'App öffnen'; the subtitle + version line read the resolved repository.mode (Live-Hub / Hub offline / Demo-Modus). Verified in-browser: opening the app fires 5 Submit RPCs (200) for the 5 live norms over gRPC-web. Signed-off-by: flemming-it <sf@flemming.it>
This commit is contained in:
parent
b4461cca13
commit
95b6642949
2 changed files with 19 additions and 7 deletions
|
|
@ -23,7 +23,7 @@ void main() {
|
|||
await tester.pump();
|
||||
expect(find.byType(BrandWordmark), findsWidgets);
|
||||
expect(
|
||||
find.widgetWithText(FilledButton, 'App öffnen (Demo-Modus)'),
|
||||
find.widgetWithText(FilledButton, 'App öffnen'),
|
||||
findsOneWidget,
|
||||
);
|
||||
await tester.pumpWidget(const SizedBox.shrink());
|
||||
|
|
@ -35,7 +35,7 @@ void main() {
|
|||
await tester.pumpWidget(const ReclaimApp());
|
||||
await tester.pump();
|
||||
await tester.tap(
|
||||
find.widgetWithText(FilledButton, 'App öffnen (Demo-Modus)'),
|
||||
find.widgetWithText(FilledButton, 'App öffnen'),
|
||||
);
|
||||
await tester.pump();
|
||||
await tester.pump(const Duration(milliseconds: 600));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue