Skip to content
Closed
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 @@ -91,6 +91,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 @@ -136,6 +136,7 @@ export default function DownloadResult({ result, onReset, soundOnCompletion, onT

<div className="flex flex-wrap gap-2 pt-2">
<a
data-testid="download-button"
href={isValid ? result.blobUrl : undefined}
download={isValid ? filename : undefined}
className={cn(
Expand Down Expand Up @@ -166,6 +167,7 @@ export default function DownloadResult({ result, onReset, soundOnCompletion, onT
Preview
</a>
<button
data-testid="reset-button"
type="button"
title="Reset and upload a new video"
aria-label="Upload a new video"
Expand Down
1 change: 1 addition & 0 deletions src/components/ExportOverlay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ export default function ExportOverlay({ status, progress, exportStartedAt, onCan
<div className="h-1 w-full bg-film-100 rounded-full overflow-hidden">
<div
role="progressbar"
data-testid="export-progress"
aria-valuenow={progress}
aria-valuemin={0}
aria-valuemax={100}
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 @@ -746,6 +746,7 @@ return () => {

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