If the product recommendations don't specify, it's usually best to avoid. My ebike is fine to ride in the rain but my electric longboard isn't, it's just that the important components are in different places and their capabilities are unique to the models. Even then, I try to saran-wrap anything vital (like buttons, screen and connections) before I ride in the rain just to be safe.
Most ebikes have decently water-resistant controller housings. I'd avoid a serious downpour if possible, but it probably wouldn't be the end of the world if you get caught in one, and light rain is no problem at all.
I can't speak to your ride, but I have no hesitation riding my ebike in the rain. I've got a Shimano mid drive designed for EMTBs, if it can handle muddy MTB trails a little rain isn't going to hurt it