I have always had cockers and they have always been great.
The one I had when I was pregnant with dd, I am sure, knew I was pregnant. She became velcro dog and would just sit and stare at me. To the point it was uncomfortable.
I did as pp did. Brought things in slowly. Let them get used to new items being there. I had a crib in the living room that was a family heirloom that rocked. So I would rock that often. Played baby noises in small bursts and worked up to it being longer and longer.
When dd was born that cocker stopped staring at me and laid next to the crib or would get in the sofa to stare at dd and left me alone.
Also make sure they are trained to leave you alone. If they get used to you being available for them all the time, it will be difficult when you are dealing with the baby and cant pay attention to the dog for those few minutes.
I also allowed the dog near the baby. Let her sniff. Obviously in controlled conditions.
That dog passed away when dd was 7 and she was devastated. They were best friends. The one I had when pregnant with ds was less interested but fine, just nor bothered until he passed away. We got another when ds was 4. The other dog wasnr interest in the new dog either. But the one we got when ds was 4 is ds best friend.
We have just adopted a cocker puppy who is obsessed with the kids. Doesnt even nip them.
Great dogs for families if managed correctly.
Also make a plan for their exercise that you stick to it now, before baby comes.. A big mistake is that a baby comes along and the dogs routine is out of the window. Easier to change it now.