When I attach a file manually my file has a size value, but if I run the behat test the file size is zero.
Manual Upload:
FileList {0: File, length: 1}
0: File
lastModified: 1472812418000
lastModifiedDate: Fri Sep 02 2016 11:33:38 GMT+0100 (BST)
name: "wrongCoverArt.jpg"
size: 2903
type: "image/jpeg"
webkitRelativePath:""
__proto__: File
length: 1
__proto__: FileList
Automatic Upload:
FileList {0: File, length: 1}
0: File
lastModified: 1472812418000
lastModifiedDate: Fri Sep 02 2016 11:35:21 GMT+0100 (BST)
name: "wrongCoverArt.jpg"
size: 0
type: "image/jpeg"
webkitRelativePath:""
__proto__: File
length: 1
__proto__: FileList