DetoxRecorder: Detox Recorder stuck from the get-go

Hey Leo and others, Looking forward to try and mess around with this awesome project.

I’m having some issues getting started, though. Running record is simply stuck, even with the booted option after manually launching the process:

asciicast

Any thoughts? Thanks!

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 54 (30 by maintainers)

Commits related to this issue

Most upvoted comments

I reproduced. It’s the tilde in the path. If you use the full path as a workaround, it will work. I will fix this in the CLI and release a version.

@freak4pc @smakosh 1.0.143 is out with a change to how the test file is written. Please test and let me know if your issue has been resolved.

@LeoNatan It doesn’t get stuck now but it doesn’t “do anything” If I have the simulator already open it does open the app with the recorder bar but I’m not seeing it recording any of the things I’m doing into the destination file (even though I do see the hit areas when I’m touching them)

1.0.145 out with tilde fix.

Yup that works!

I encountered few more issues but they are unrelated to this, I’ll open them tomorrow with a detailed description

@smakosh Please open a new issue so we can explore. Thanks

Hmm, so there is a problem with CLI somehow.

What if you run directly like so:

node_modules/detox-recorder/DetoxRecorderCLI --help

Do you get anything? If you get output, use that as the command instead of detox recorder.

@smakosh You have a smart quote in there. Use normal quotes.

The CLI does the injecting for you.

These tests were meant, if you had injected the framework on your own, skip it in CLI. But normal usage is you don’t inject anything, and the CLI does the magic for you with DYLD_INSERT_LIBRARIES.

Ah, I had the npm publish commented out in the script 🤦‍♂️

Nope, it’ll be a specific log for the CLI tool.