How to fix Playwright file upload failures with `setInputFiles`?
PlaywrightUpload failures usually come from wrong file paths or hidden/non-file inputs.
Target a real <input type="file"> and pass a valid path from the test runtime.
await page.getByLabel('Upload invoice').setInputFiles('tests/fixtures/invoice.pdf');
In CI, verify fixture files are included in checkout and not ignored by build steps.