CodeceptJS icon indicating copy to clipboard operation
CodeceptJS copied to clipboard

attach file not working on codeceptjs with Appium helper

Open sdixit28 opened this issue 3 years ago • 1 comments

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:

sdixit28 avatar May 26 '22 04:05 sdixit28

This issue is stale because it has been open for 90 days with no activity.

github-actions[bot] avatar Dec 13 '23 02:12 github-actions[bot]