contexts icon indicating copy to clipboard operation
contexts copied to clipboard

Handle file uploads correct

Open TerjeBr opened this issue 6 years ago • 1 comments

Currently if you specify a file to be uploaded, that file is treated as the temporary upload file normally created by php. That is wrong behaviour, since that temporary file is usually moved or removed by the php application under test. So the next time you run the behat test the file that you used for the upload is not there anymore.

This is a PR to fix this. This PR also removes the temporary files it created afterwards if the application has not removed them.

TerjeBr avatar Mar 26 '19 13:03 TerjeBr

It has been 6 months now. Could someone with merge rights please look into this?

TerjeBr avatar Sep 03 '19 10:09 TerjeBr