Settings reveal test: skip the Image Messages case without on-device ML
The fork hides that section when kOnDeviceMl is false (lib/tth_fork.dart), so there is nothing to scroll to. Passes on upstream, skipped here. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d2db6aff19
commit
8716b10933
1 file changed
+4
@@ -11,6 +11,7 @@ import 'package:meshcore_open/services/network_map/network_map_upload_service.da
|
||||
import 'package:meshcore_open/services/translation_service.dart';
|
||||
import 'package:meshcore_open/storage/prefs_manager.dart';
|
||||
import 'package:meshcore_open/theme/mesh_theme.dart';
|
||||
import 'package:meshcore_open/tth_fork.dart';
|
||||
import 'package:meshcore_open/widgets/image_codec_models_section.dart';
|
||||
import 'package:meshcore_open/widgets/settings_reveal.dart';
|
||||
import 'package:provider/provider.dart';
|
||||
@@ -183,6 +184,9 @@ void main() {
|
||||
expect(find.text(l10n.imageMessages_autoProcessTitle), findsNothing);
|
||||
expect(find.text(spec.label), findsNothing);
|
||||
},
|
||||
// tth fork: without on-device ML the Image Messages section is hidden
|
||||
// (lib/tth_fork.dart), so there is nothing to reveal.
|
||||
skip: !kOnDeviceMl,
|
||||
);
|
||||
|
||||
for (final scale in [1.3, 2.0]) {
|
||||
|
||||
Reference in new issue
Block a user