We already behave correctly here, the test just verifies it.
Attach a file by drag & drop or click to upload