diff --git a/packages/ui/client/components/FailureScreenshot.vue b/packages/ui/client/components/FailureScreenshot.vue index 9328eac3b..594204868 100644 --- a/packages/ui/client/components/FailureScreenshot.vue +++ b/packages/ui/client/components/FailureScreenshot.vue @@ -14,6 +14,7 @@ const { task } = defineProps<{ const showScreenshot = ref(false) const artifact = computed(() => { if (task.type === 'test') { + // TODO: show each attempt's screenshot next to that attempt's errors, not only the last one const artifact = task.artifacts.findLast( (artifact) => artifact.type === 'internal:failureScreenshot', )