This is a bug and it has been reported.
This bug is triggered when IntentlessPolicy is used AND there is no e2e tests. If you want to continue using IntentlessPolicy there is a workaround:
Create an e2e test, here is the link to docs how to do it: Evaluating Your Assistant (E2E Testing) | Rasa Documentation.