cypress-io / cypress-chrome-recorder

Export Cypress Tests from Google Chrome DevTools' Recorder
MIT License
226 stars 18 forks source link

Not able to convert files in a directory: illegal operation on a directory #11

Closed jecfish closed 2 years ago

jecfish commented 2 years ago
  1. I have a recordings folder with a user flow json file in it.
  2. Run npx @cypress/chrome-recorder recordings
  3. Hit error EISDIR: illegal operation on a directory, read [NOT OK]

Expect all user flow JSON in the recordings folder are converted successfully.

Run npx @cypress/chrome-recorder recordings/order-a-coffee.json to convert a single JSON file is successful without error [OK].

Screen Shot 2022-04-26 at 4 19 42 PM
admah commented 2 years ago

@jecfish you need to pass it npx @cypress/chrome-recorder recordings/*.json

I will update the examples to better demonstrate this.

github-actions[bot] commented 2 years ago

:tada: This issue has been resolved in version 1.2.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: