diff --git a/assets/src/components/detours/activateDetourModal.tsx b/assets/src/components/detours/activateDetourModal.tsx
index f19bb24c3..4e87b51f5 100644
--- a/assets/src/components/detours/activateDetourModal.tsx
+++ b/assets/src/components/detours/activateDetourModal.tsx
@@ -66,7 +66,11 @@ const SurroundingModal = ({
Cancel
{onActivate ? (
-
diff --git a/assets/src/components/detours/detourMap.tsx b/assets/src/components/detours/detourMap.tsx
index 200385b36..2f3c81ab0 100644
--- a/assets/src/components/detours/detourMap.tsx
+++ b/assets/src/components/detours/detourMap.tsx
@@ -179,6 +179,7 @@ export const DetourMap = ({
onClick={onUndo}
size="lg"
title="Undo"
+ data-fs-element="Undo"
>
@@ -189,6 +190,7 @@ export const DetourMap = ({
onClick={onClear}
size="lg"
title="Clear"
+ data-fs-element="Clear"
>
diff --git a/assets/src/components/detours/detourPanelComponents.tsx b/assets/src/components/detours/detourPanelComponents.tsx
index d2bc8328c..3528cebd6 100644
--- a/assets/src/components/detours/detourPanelComponents.tsx
+++ b/assets/src/components/detours/detourPanelComponents.tsx
@@ -99,6 +99,7 @@ export const CopyButton = ({ detourText }: { detourText: string }) => (
variant="outline-primary"
size="sm"
onClick={() => window.navigator.clipboard?.writeText(detourText)}
+ data-fs-element="Copy Details"
>
Copy details
diff --git a/assets/src/components/detours/detourPanels/activeDetourPanel.tsx b/assets/src/components/detours/detourPanels/activeDetourPanel.tsx
index da968189c..3d4eff436 100644
--- a/assets/src/components/detours/detourPanels/activeDetourPanel.tsx
+++ b/assets/src/components/detours/detourPanels/activeDetourPanel.tsx
@@ -110,6 +110,7 @@ export const ActiveDetourPanel = ({
variant="ui-alert"
className="flex-grow-1 m-3 icon-link text-light justify-content-center"
onClick={onOpenDeactivateModal}
+ data-fs-element="Return to Regular Route"
>
Return to regular route
diff --git a/assets/src/components/detours/detourPanels/detourFinishedPanel.tsx b/assets/src/components/detours/detourPanels/detourFinishedPanel.tsx
index 48415537d..3f153c643 100644
--- a/assets/src/components/detours/detourPanels/detourFinishedPanel.tsx
+++ b/assets/src/components/detours/detourPanels/detourFinishedPanel.tsx
@@ -43,6 +43,7 @@ export const DetourFinishedPanel = ({
style={{
resize: "none",
}}
+ data-fs-element="Detour Text"
/>
@@ -51,6 +52,7 @@ export const DetourFinishedPanel = ({
Start Detour
diff --git a/assets/src/components/detours/detourPanels/detourRouteSelectionPanel.tsx b/assets/src/components/detours/detourPanels/detourRouteSelectionPanel.tsx
index c82b704f5..e32e9f7a2 100644
--- a/assets/src/components/detours/detourPanels/detourRouteSelectionPanel.tsx
+++ b/assets/src/components/detours/detourPanels/detourRouteSelectionPanel.tsx
@@ -146,6 +146,7 @@ export const DetourRouteSelectionPanel = ({
Start drawing detour
diff --git a/assets/src/components/detours/detourPanels/drawDetourPanel.tsx b/assets/src/components/detours/detourPanels/drawDetourPanel.tsx
index 920c049c4..7d83129f3 100644
--- a/assets/src/components/detours/detourPanels/drawDetourPanel.tsx
+++ b/assets/src/components/detours/detourPanels/drawDetourPanel.tsx
@@ -90,6 +90,7 @@ export const DrawDetourPanel = ({
Review
diff --git a/assets/src/components/detours/diversionPage.tsx b/assets/src/components/detours/diversionPage.tsx
index 713cd197c..3b95166ae 100644
--- a/assets/src/components/detours/diversionPage.tsx
+++ b/assets/src/components/detours/diversionPage.tsx
@@ -410,6 +410,7 @@ export const DiversionPage = ({
return (
<>