From 9ff1ca5ce07ef15d93af0e56a6df2b5790372f69 Mon Sep 17 00:00:00 2001 From: Vinuyan Sivakolunthu Date: Sun, 5 Apr 2026 12:29:56 -0400 Subject: [PATCH 1/4] fixed testId to work with CI --- components/map/poi-marker.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/map/poi-marker.tsx b/components/map/poi-marker.tsx index 2672ca9..78d29dc 100644 --- a/components/map/poi-marker.tsx +++ b/components/map/poi-marker.tsx @@ -63,8 +63,8 @@ export default function PoiMarker({ poi, onPress }: Readonly) { zIndex={3} > Date: Sun, 5 Apr 2026 12:33:01 -0400 Subject: [PATCH 2/4] fixed lint --- components/map/poi-marker.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/map/poi-marker.tsx b/components/map/poi-marker.tsx index 78d29dc..6735e8b 100644 --- a/components/map/poi-marker.tsx +++ b/components/map/poi-marker.tsx @@ -2,7 +2,7 @@ import { POI } from "@/types/mapTypes"; import { PoiMarkerColors } from "@/constants/theme"; import { Ionicons } from "@expo/vector-icons"; import React from "react"; -import { Platform, StyleSheet, View } from "react-native"; +import { StyleSheet, View } from "react-native"; import { Marker } from "react-native-maps"; type PoiMarkerVisual = { From c5b6f2ccc9344537c028b18338d62848c1f4c713 Mon Sep 17 00:00:00 2001 From: Vinuyan Sivakolunthu Date: Sun, 5 Apr 2026 13:05:03 -0400 Subject: [PATCH 3/4] removed US5 maestro tests from CI --- .maestro/automated/suite.yaml | 9 --------- __tests__/map-viewer.test.js | 5 +++-- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/.maestro/automated/suite.yaml b/.maestro/automated/suite.yaml index d4fe9e2..8343c1d 100644 --- a/.maestro/automated/suite.yaml +++ b/.maestro/automated/suite.yaml @@ -23,12 +23,3 @@ appId: com.anonymous.client file: launchApp.yaml - runFlow: file: ../US2/AT3.1routeBetweenCampus.yaml - -- runFlow: - file: launchApp.yaml -- runFlow: - file: ../US5/AT1displayPOI.yaml -- runFlow: - file: launchApp.yaml -- runFlow: - file: ../US5/AT2directionsPOI.yaml diff --git a/__tests__/map-viewer.test.js b/__tests__/map-viewer.test.js index 96fc7f5..1da0a86 100644 --- a/__tests__/map-viewer.test.js +++ b/__tests__/map-viewer.test.js @@ -207,10 +207,11 @@ describe("map tab", () => { try { const mapViewer = render(); + const poiMarkers = mapViewer.getAllByTestId("marker-poi-1"); - expect(mapViewer.getByTestId("marker-poi-1")).toBeTruthy(); + expect(poiMarkers.length).toBeGreaterThan(0); - fireEvent.press(mapViewer.getByTestId("marker-poi-1")); + fireEvent.press(poiMarkers[0]); expect(mapViewer.getByTestId("poi-info-popup")).toBeTruthy(); expect(mapViewer.getByText("Test POI")).toBeTruthy(); From 8951b22c62b48766fa6c692310893b4c489e4d7d Mon Sep 17 00:00:00 2001 From: Vinuyan Sivakolunthu Date: Sun, 5 Apr 2026 13:11:05 -0400 Subject: [PATCH 4/4] removed US5 e2e from suite --- .maestro/automated/suite.yaml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.maestro/automated/suite.yaml b/.maestro/automated/suite.yaml index d4fe9e2..87a0fba 100644 --- a/.maestro/automated/suite.yaml +++ b/.maestro/automated/suite.yaml @@ -24,11 +24,3 @@ appId: com.anonymous.client - runFlow: file: ../US2/AT3.1routeBetweenCampus.yaml -- runFlow: - file: launchApp.yaml -- runFlow: - file: ../US5/AT1displayPOI.yaml -- runFlow: - file: launchApp.yaml -- runFlow: - file: ../US5/AT2directionsPOI.yaml