File Uploads
TestBrick handles file uploads during test recording and replay. Upload images, documents, or any file type your app accepts.
How it works
- During recording, click the file input or “Upload” button
- Select a file — TestBrick captures the upload step
- The file is stored and replayed during test execution
Supported file types
Any file type your app accepts — images, PDFs, documents, CSVs, etc.
During replay
TestBrick downloads the stored file and uses Playwright’s setInputFiles to inject it into the file input. The app processes it exactly as a real user upload.
Keep test files small (under 5MB) for faster test execution.