Remove repeated demo notes from product screens (#28)

This commit is contained in:
Stephan D committed 2026-09-12 12:06:30 +02:00
1 parent 2ae8086d40
commit 54f50ad6b7
16 files changed
+87 -307

No files matched your search

+4 -4
View File
@@ -111,7 +111,7 @@ void main() {
);
testWidgets(
'signup to demo verification is correlated and never claims a business success',
'signup verification keeps simulated analytics with ordinary product copy',
(tester) async {
final sink = DummyAnalyticsService();
await open(tester, '/', sink);
@@ -130,10 +130,10 @@ void main() {
'example-password',
);
await tap(tester, find.byKey(const ValueKey('submit')));
expect(find.text('Demo email prepared.'), findsOneWidget);
expect(find.textContaining('We’ve sent you'), findsNothing);
expect(find.text('Check your inbox.'), findsOneWidget);
expect(find.textContaining('We’ve sent you'), findsOneWidget);
await tap(tester, find.byKey(const ValueKey('demo-confirmation')));
expect(find.text('Demo verification\ncomplete.'), findsOneWidget);
expect(find.text('Your email\nis verified.'), findsOneWidget);
expect(sink.events.map((e) => e.journeyId).toSet().length, 1);
expect(sink.events.where((e) => e.terminal).length, 1);
expect(