I'm getting "Form can't be submitted in test mode" but the pop-up is live

When trying to submit a form from a pop-up I’m getting this error, but the pop-up is live already:
“Form can't be submitted in test mode.”

I tried running a plugin/theme conflict test, but the issue is still there.