CodeceptJS
CodeceptJS copied to clipboard
attach file not working on codeceptjs with Appium helper
What are you trying to achieve?
I am trying to use attach file option on appium to upload images/videos/documents .
Note: attach file functionality works on the playwright helper
What do you get instead?
My application tries to upload and for a split second it looks like it is trying to upload something in the background. However nothing happens and right after that command is executed and the next command fails. I even gave an explicit wait time to see if its happening on the background. However nothing happens and fails
Provide test source code if related My function goes like this
attachImageFile() { I.see('Press ADD PHOTO to load an image'); I.attachFile('input[type="file"]', '../../../.android/avd/Galaxy_Nexus_API_30.avd/data/testing.jpeg'); },
Details
- CodeceptJS version:
- NodeJS Version:
- Operating System:
- appium
- Configuration file:
This issue is stale because it has been open for 90 days with no activity.