Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/components/AudioSpeedControl.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ export default function AudioSpeedControl({ recipe, onChange }: Props) {
</div>
<input
id="speed-control"
data-testid="speed-slider"
type="range"
min={0}
max={SPEED_STEPS.length - 1}
Expand Down
2 changes: 2 additions & 0 deletions src/components/DownloadResult.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ export default function DownloadResult({ result, onReset, soundOnCompletion, onT
<a
href={isValid ? result.blobUrl : undefined}
download={isValid ? filename : undefined}
data-testid="download-button"
className={cn(
"flex-1 min-w-[10rem] flex items-center justify-center gap-2 py-3 text-sm font-heading font-bold uppercase tracking-wide rounded-lg transition-all",
isValid
Expand Down Expand Up @@ -167,6 +168,7 @@ export default function DownloadResult({ result, onReset, soundOnCompletion, onT
</a>
<button
type="button"
data-testid="reset-button"
title="Reset and upload a new video"
aria-label="Upload a new video"
onClick={handleReset}
Expand Down
1 change: 1 addition & 0 deletions src/components/ExportOverlay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ export default function ExportOverlay({ status, progress, exportStartedAt, onCan
<div className="w-full space-y-2">
<div className="h-1 w-full bg-film-100 rounded-full overflow-hidden">
<div
data-testid="export-progress"
role="progressbar"
aria-valuenow={progress}
aria-valuemin={0}
Expand Down
1 change: 1 addition & 0 deletions src/components/ExportSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ export default function ExportSettings({

<input
id="quality-control"
data-testid="quality-slider"
type="range"
min={18}
max={30}
Expand Down
1 change: 1 addition & 0 deletions src/components/FileUpload.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ export default function FileUpload({
const DropZone = () => (
<div
id="upload-zone"
data-testid="file-upload-zone"
role="button"
tabIndex={0}
aria-label="Video upload area. Drag and drop a video file or press Enter to browse."
Expand Down
1 change: 1 addition & 0 deletions src/components/VideoEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -763,6 +763,7 @@ export default function VideoEditor() {

<button
id="export-button"
data-testid="export-button"
type="button"
onClick={handleExport}
disabled={!file || isProcessing}
Expand Down
Loading