diff --git a/app/components/CameraManager/List.vue b/app/components/CameraManager/List.vue index 64648fd4..fc58222f 100644 --- a/app/components/CameraManager/List.vue +++ b/app/components/CameraManager/List.vue @@ -54,7 +54,7 @@ async function saveRename() { color="success" size="x-small" class="mr-1" - :data-testid="'restoreCameraPosition' + position.name + 'Button'" + :data-testid="`restoreCameraPosition${position.name}Button`" @click="restorePosition(position.id)" > mdi-play diff --git a/app/components/CameraOrientation.vue b/app/components/CameraOrientation.vue index f8300a8e..222e08cb 100644 --- a/app/components/CameraOrientation.vue +++ b/app/components/CameraOrientation.vue @@ -212,7 +212,7 @@ watch(hoveredFace, (newFace, oldFace) => { size="32" class="satellite-node position-absolute" :style="orientation.position" - :data-testid="'cameraOrientation' + orientation.vtkKey + 'Button'" + :data-testid="`cameraOrientation${orientation.vtkKey}Button`" @mouseenter="hoveredFace = orientation.face" @mouseleave="hoveredFace = undefined" @click.stop="emit('select', orientation.value)" @@ -242,7 +242,7 @@ watch(hoveredFace, (newFace, oldFace) => { size="32" variant="text" class="ma-1" - :data-testid="'cameraOrientation' + orientation.vtkKey + 'Button'" + :data-testid="`cameraOrientation${orientation.vtkKey}Button`" @mouseenter="hoveredFace = orientation.face" @mouseleave="hoveredFace = undefined" @click.stop="emit('select', orientation.value)" diff --git a/app/components/HybridRenderingView.vue b/app/components/HybridRenderingView.vue index 378bbc9e..5100f4d7 100644 --- a/app/components/HybridRenderingView.vue +++ b/app/components/HybridRenderingView.vue @@ -95,10 +95,13 @@ async function handleClick(event) { - + +