New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
selectFile() on WebKit #24815
Comments
@verdeimparat Thank you for providing a reproducible example! I am sorry you are having troubles getting this working. I took the example you provided and was able to successfully run it in note: I was unable to launch the test running with I also was unable to repo the error you logged when I removed the Are you still seeing this issue? Was there other configuration enabled and/or details that are important to reproduce this? |
Still not working on my side. Could be the OS fault? I see that u are using MAC OS. |
I should be able to try the reproduction out on windows either tomorrow or early next week |
Hi @verdeimparat. Sorry for the delay here, but I was able to reproduce your issue on Windows 10 Home with this reproduction repository. |
I have similar issue in docker container, However the upload works just fine on my local MacOS
Inside docker container I run
"playwright-webkit": "1.35.1", I am getting the error from back end
however, it is the jpg and it works in chrome and firefox in docker I believe it is what it's sending
|
Current behavior
Hello everyone,
I am new to Cypress and I am doing some tryouts for file upload in my project by using the built in file upload feature of Cypress over WebKit.
"devDependencies": { "cypress": "^11.2.0", "playwright-webkit": "^1.28.0" },
I know that WebKit is experimental but I didn't find anything regarding that selectFile() is not supported yet.
I want to mention that on Chrome and Firefox my tests are passing and files are successfully uploaded.
The error that I am getting is:
Timed out retrying after 10000ms: undefined is not an object (evaluating 'dataTransfer.items.add')
Desired behavior
It should upload the file on WebKit as is done on Chrome/Firefox.
Test code to reproduce
Cypress Version
11.2.0
Node version
v16.18.0
Operating System
Windows 10
Debug Logs
Noticed in cypress_runner.js that it may come from here:
Other
"playwright-webkit": "^1.28.0"
The text was updated successfully, but these errors were encountered: