Closed chirimoya closed 5 years ago
Is this different from #36?
Not sure, but if I ran the tests locally on Selenium everything works fine. If I ran the tests on Saucelabs via remote tunnel I get following error:
The requested URL returned error: 500 Internal Server Error (WebDriver\Exception\CurlExec)
https://github.com/sulu-io/sulu/pull/1094/files#diff-9894497b5c4e94a173f223338b612933R176
@chirimoya if you use Mink, you need to use the dev version of MinkSelenium2Driver to have that feature. The usage of the feature in Mink is not released yet.
@chirimoya For SauceLabs, you have to also use $session->file($arg);
to upload the file contents.
Example: https://github.com/minkphp/MinkSelenium2Driver/blob/master/src/Selenium2Driver.php#L1191
I'm currently running Behat-Tests on Travis-CI and Saucelabs. But the remote file upload doesn't work. Attached some links with more information regarding this problem: http://sauceio.com/index.php/2014/01/remote-file-uploads-with-selenium-php/ https://code.google.com/p/php-webdriver-bindings/wiki/HowToUploadFile