From 23bad2b0cf010fcc3047249fbef9d19d26701c32 Mon Sep 17 00:00:00 2001 From: Aditya Sharma Date: Mon, 17 Aug 2026 00:35:00 +0530 Subject: [PATCH] feat: add data-testid attributes to key UI elements for automated testing Add data-testid attributes to the following elements: - file-upload-zone: File upload drag-drop area - export-button: Export video button - export-progress: Export progress bar - download-button: Download result link - reset-button: Reset/New video button - quality-slider: Quality CRF range slider - speed-slider: Speed range slider No visual or functional changes. Prepares codebase for Playwright/RTL tests. Closes #56 --- src/components/AudioSpeedControl.tsx | 1 + src/components/DownloadResult.tsx | 2 ++ src/components/ExportOverlay.tsx | 1 + src/components/ExportSettings.tsx | 1 + src/components/FileUpload.tsx | 1 + src/components/VideoEditor.tsx | 1 + 6 files changed, 7 insertions(+) diff --git a/src/components/AudioSpeedControl.tsx b/src/components/AudioSpeedControl.tsx index 012f9319..02393f91 100644 --- a/src/components/AudioSpeedControl.tsx +++ b/src/components/AudioSpeedControl.tsx @@ -107,6 +107,7 @@ export default function AudioSpeedControl({ recipe, onChange }: Props) {