Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Remove OCR selection regression tests

laurenspriema4b40b7d6754
diff --git a/mobile/apps/photos/test/ui/viewer/file/ocr/text_region_hit_test_test.dart b/mobile/apps/photos/test/ui/viewer/file/ocr/text_region_hit_test_test.dart
index aed75f82fa..2900683e3b 100644
--- a/mobile/apps/photos/test/ui/viewer/file/ocr/text_region_hit_test_test.dart
+++ b/mobile/apps/photos/test/ui/viewer/file/ocr/text_region_hit_test_test.dart
@@ -53,32 +53,6 @@ void main() {
);
});
- test("keeps interactive selection controls tappable outside the image", () {
- expect(
- shouldCaptureOcrGesture(
- pointOnInteractiveSelectionUi: true,
- pointEligibleForOcr: false,
- textRegionsOnly: false,
- pointOnSelectableText: false,
- pointInDetectedTextRegion: false,
- ),
- isTrue,
- );
- });
-
- test("does not capture non-interactive points outside the image", () {
- expect(
- shouldCaptureOcrGesture(
- pointOnInteractiveSelectionUi: false,
- pointEligibleForOcr: false,
- textRegionsOnly: false,
- pointOnSelectableText: false,
- pointInDetectedTextRegion: false,
- ),
- isFalse,
- );
- });
-
test("applies hit slop in viewport pixels", () {
expect(
isViewportPointInTextRegions(