Closed Puneet-humm closed 2 years ago
What version of the package are you using?
Hi Admah, I am using Cypress v 9.6.1 and chrome -recorder v 1.4.0
@Puneet-humm does the cypress/integration
folder exist? This won't write those folders. I've tested it with a similar file structure and can't reproduce what you're seeing.
Also, I'm removing the --print
flag in favor of --dry
. Try to run it with that flag to see the output.
@admah , yes cypress/integration folder exist. Attached is the screenshot showing which commands are failing and which are passing. --dry is running fine.
.
@Puneet-humm for the first command try:
npx @cypress/chrome-recorder cypress/downloads/login.json --output=cypress/fixtures
There shouldn't be a space after --output=
. Also, you're using \
for your paths instead of /
.
What a silly thing I was doing, Its working now.
Thanks a lot for your help :)
I have created a login.json file through chrome recorder and copied it to cypress\downloads. Now when I run "npx @cypress/chrome-recorder cypress\downloads\login.json" OR "npx @cypress/chrome-recorder cypress\downloads\login.json --print" .
I am getting the error "There was an issue writing the output to cypress/integration. Please check that it exists and try again.".![image](https://user-images.githubusercontent.com/98075965/169160864-ffdcd794-85ad-45b2-b12e-4d22423fb178.png)
Can anybody help me on this. Thanks