# File uploader tests

##

##

select files in sample-files dir, following order

1. select 1imagelong...long.gif, invalid ext error should appear
2. select 2larger.txt, invalid size message should appear (in FF3.6+,Safari4+,Chrome without doing request)
3. select 3empty.txt, invalid size message should appear (in FF3.6+,Safari4+,Chrome without doing request)
4. select 4text.txt, uploaded file should be marked as failed (server returns jsgkdfgu4eyij)
5. select 5text.txt, callback argument tests
6. select 6text.txt, setParams, isUploading
7. select 7small.txt, too small size message should appear (in FF3.6+,Safari4+,Chrome without doing request)
8. select 8text.txt, returning false in onSubmit cancells upload, file should not be added to list
9. In FF,Chrome, select all files using drag-and-drop, only 1 error should appear.

File uploader inside a dialog