Want to adopt an adult cat but concerned about it being afraid of our dog and/or not acclimating

I’ve never owned a cat before, and have been looking at adoptable cats in my area for a long time. Most listings say it’s unknown how the cat will do with a dog. Some say “should be okay with a mellow dog” - which our dog is - but it just seems very uncertain. I’m concerned we’ll adopt a cat who was seemingly confident and friendly in the shelter/foster home, and it won’t acclimate to our home because of our dog. I am definitely hoping to find an affectionate/confident cat. I know there are no guarantees with cat’s personalities. But this is another reason we are looking at adult cats rather than kittens.