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

Won't link `record` to detox command

rborn opened this issue · comments

Describe the Bug
Following the installation docs the command detox record won't do anything

To Reproduce
As above, just install detox as global package and detox-recorder as per docs

Expected Behavior
It should start recording or react to detox recorder --help

Actual Behavior
Nothing happens, no output either, the cli just exits.

I found out however that you can run calling it with the full path command
node_modules/detox-recorder/DetoxRecorderCLI --help so it seems to be a "linking" problem with detox itself

Environment

  • macOS: 10.15.7
  • Xcode: 12.0.1
  • iOS Simulator Runtime: 14.0
  • Detox Recorder Version: 1.0.146

Logs
Nothing shows in logs if tried to run with "detox recorder"

Update your Detox CLI.

@LeoNatan

detox --version
17.10.2

Thanks :)

That’s the Detox version

That’s Detox. The CLI tool is an independent package.

You’ve installed it in the past but never updated it.

@LeoNatan you are right, thank you very much 😻

Enjoy