docker-selenium icon indicating copy to clipboard operation
docker-selenium copied to clipboard

Add tests for downloaded & upload files

Open omarazmi opened this issue 9 years ago • 5 comments

when i try to download some files(export excel file), it gives error on firefox and chrome

i give user full permission using (just for testing) chmod -R a+rX *

is there any thing that i can do ?

omarazmi avatar Apr 14 '16 14:04 omarazmi

what's the error? does it work if you use selenium normally? i.e. without docker?

elgalu avatar Apr 14 '16 15:04 elgalu

The error occur because i make a network volume on downloads folder, so i can check if the files downloaded right.

the error is insufficient permissions error, then i give user full permission. but then download is give "starting ..." message but never download or failed on firefox.

Thanks for your attention.

omarazmi avatar Apr 17 '16 19:04 omarazmi

any updates ?

omarazmi avatar Apr 21 '16 08:04 omarazmi

Hi, sorry for the late response. I don't have a download files test case scenario, please feel free to send a pull request adding for example a file like https://github.com/elgalu/docker-selenium/blob/master/test/python_test.py that tests the download file test case.

You need to script all the commands in order to have a good reproducing test case, TravisCI will run the tests and we can further debug from there.

Also, anyone, feel free to add test for file uploads, perhaps also tackling https://github.com/angular/protractor/issues/612#issuecomment-308064573

elgalu avatar Apr 21 '16 09:04 elgalu

Also add tests for multiple file uploads and downloads for all browsers

deadnight7 avatar May 10 '18 06:05 deadnight7