It looks like literally nothing else is going on here in terms of a “scenario” (I have spent half of my day to prove it to myself).
Here is the whole “collection” I just created to demonstrate it. I just hit “Send”, it runs the request, and the script, and says everything looks good.
The log line is never printed (nothing at all in console except for the actual request), but the dot next to “Scripts” in the ui is green.
Oh … I wasn’t looking at the Test Results tab. It does it did mark it as failed there correctly. I was expecting the dot next to “Scripts” label to turn red too – that’s what confused me. It used to do that when it was “Tests”