Closed Drillan767 closed 6 years ago
Update : I should have tested it myself, it needed the file's full path, sorry for the inconvenience
@Drillan767, I seem to be having the same issue that you mentioned. I've tried using the full file path like you mentioned but still seem to be getting issues. Would you be able to show me a sample of what you did to be able to get it working? Thanks in advance!
For the context, I have to fill a form that has a file upload. When a file is attached to the field, a new text field shows up to allow the user to add an alternate text.
My issue is that for some reasons, MinkSelenium2Driver can't find the file while Behat can.
I launch the server with the following command:
Here is the scenario:
When running the test, I get the following error:
Of course, the file exists, and what bothers me is that the test doesn't fait when I use GoutteDriver (until the next line where it can't find the ajax generated field)
What can I do to solve this?
Thank you in advance