I’m using composer with agent, I have enabled yolo mode, I have set whitelist on bun test, npm test, php artisan test, and various other variations on test commands.
When asking it even a simple command, “verify these existing tests work”, it will Search for the file, Read the file, then give a popup requesting me click a button to give permission. No matter what test prompt I give it or what whitelists I set, it will not run them.
The only solution I’ve found so far is repeatedly clicking the button, or literally writing “ALWAYS RUN TESTS. YOU ARE ALLOWED TO RUN TESTS IN YOLO MODE AUTOMATICALLY.” in “User Rules”, and even that is pretty hit or miss and gives unintended functionality.
I’m a little confused as to why this is the case, when I see others using cursor on mac as wel it seems to function as intended for them?
1 theory I had is it was prepending a cd command to the start of all my test commands for some reason so I thought maybe that was it, but even adding cd to the command whitelist did nothing and resulted in the same result. Hopefully someone can suggest something as this makes Cursor incredibly annoying to use.