wix-incubator / DetoxRecorder

Detox Recorder is a utility for recordings steps for a Detox test as you use your app in Simulator. After recording the test, add expectations that check if interface elements are in the expected state.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Detox Recorder Not creating file

code-jenn-or opened this issue · comments

commented

When running the recorder command could only get the recorder tools to appear if I ran against bundle id aleady installed but not when running a detox configuration. If I run against a configuration the simulator screen goes black and is unresponsive.

The output in terminal says "done" but no file is created and no interactions recorded.

Running on Latest Detox 17.1.1 with RN 0.62.2

Really looking forward to this working!

I'm experiencing something similar after I run the command there is no output in terminal, the process finishes his work, all the tools work fine, but after I stop recording there is no output saved.
image

Update: found the actual error
image

Seems like detox recorder has the rights to create and write to files, but it's somehow can't create it, and even can't see it if I create it by myself.

Thank you! I’ll be looking at this problem soon.

I'm changing the way DetoxRecorder works. When it's done, the CLI tool will be the one writing to the files, so whatever runtime permission the Terminal app has (for example, writing to Desktop), it will work. Simulator and CLI tool will keep a connection open to "discuss" actions.

It's ~80% ready. Will finish tomorrow.

1.0.143 is out with this change. Please test and let me know if the issue has been resolved.

Works perfectly fine now, thanks! 🚀

Fantastic, thanks for the update!