File Upload
file-upload attaches one or more files to a file input. Files can come from the local filesystem or from the test fixtures directory.
yaml
- file-upload:
element: the avatar upload
files:
- ./fixtures/avatar.pngFor drag-and-drop upload zones that do not use a native
<input type="file">, combine this with a drag-and-drop step instead.