You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi all,
I installed cypress-file-upload using following command:
npm i cypress-file-upload --save-dev
Then added
import 'cypress-file-upload';
to support/commands.tsand e2e.ts look likes this:
import './commands';
and at least added "cypress-file-upload" in tsconfig.json file like this:
but when I run the test get this error:
.attachFile is not a function
cypress version : 10.3.1
cypress-file-upload: 5.0.8
do you have any recommendations what should I do to fix the error?
Beta Was this translation helpful? Give feedback.
All reactions