fix: broken e2e tests (#1956)

This commit is contained in:
David Nguyen
2025-08-11 16:16:21 +10:00
committed by GitHub
parent b844e166a9
commit 9026aabe3b
4 changed files with 21 additions and 8 deletions

View File

@ -96,7 +96,7 @@ export const DocumentDropzone = ({
return (
<Button loading={loading} aria-disabled={disabled} {...getRootProps()} {...props}>
<div className="flex items-center gap-2">
<input {...getInputProps()} />
<input data-testid="document-upload-input" {...getInputProps()} />
{!loading && <Upload className="h-4 w-4" />}
{disabled ? _(disabledMessage) : _(heading[type])}
</div>