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/deactivateDetourModal.tsx b/assets/src/components/detours/deactivateDetourModal.tsx index 526365c03..3de119797 100644 --- a/assets/src/components/detours/deactivateDetourModal.tsx +++ b/assets/src/components/detours/deactivateDetourModal.tsx @@ -48,6 +48,7 @@ export const DeactivateDetourModal = ({ variant="ui-alert" onClick={onDeactivate} className="text-white" + data-fs-element="Confirm Return to Regular Route" > Return to regular route 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 = ({