Docker Community Forums

Share and learn in the Docker community.

Uplaod file fails when running Tests in Docker


(Kanthimg) #1


I am running geb test suit using docker. I have set of excel files which needs to be uploaded and validated in UI. While I was able to run these tests successfully in my local machile whithout docker. After I have done the docker setup to run my tests using the hub I am getting error while uploading file. Error message says “org.openqa.selenium.WebDriverException: invalid argument: File not found : /home/seluser\FTR-upload-files/GoodFiles/filename.XLSX
(Session info: chrome=62.0.3202.94)
(Driver info: chromedriver=2.33.506092 (733a02544d189eeb751fe0d7ddca79a0ee28cce4),platform=Linux 4.4.100-boot2docker x86_64) (WARNING: The server did not provide any stacktrace information)”. Could someone help me to figure out the issue??