She will when she is ready. Potty "training" is rarely finite nor consistent in the beginning. As she gets older (you didn't say how old she is now), and as the bladder/nerves/brain connection matures, she will get better at it, naturally.
Next, night-time and nap time "dryness" is a whole other realm and time-line. A child does not pee/poop/do night time control at that same time. It is in stages. And yes, 'accidents' will happen. Its the life of a child, until they are mature enough to hold their bladder for all those hours.
Night-time dryness... is not even attained until 7 years old. And this is normal and per Pediatricians. Night-time dryness, is BIOLOGICAL based... not the child being naughty, for example. It is biological based and until the bladder/mind connection is mature enough.
My daughter was already 5 years old... until she could be dry at night. MANY kindergarten kids, still wear diapers at night as well. Normal. Even older, they will sometimes have accidents at night. Normal.
Don't push, don't pressure, don't show disappointment in her. This will only backfire.
If you pressure a child too much, they may even "withhold" their poop, for example, causing induced "constipation"... and this is not good, and then turns into a medical problem, and constipation, once the vicious cycle starts, is HARD to undo. Because constipation hurts when it comes out, then because of the pain, the child will "withhold" going poop altogether. Then it causes more medical problems.
I know, because my daughter did this and although we didn't pressure her, it just causes anxiety in a child... and stress.
Again, accidents and relapses will occur and regressions. Until they can AT-WILL control their body....
My daughter is now 7 years old. A couple of weeks ago she had a pee accident while sleeping at night. No biggie. I just use waterproof bed pads under her, change her jammies, then put another new one under her, then back to bed. She even had a dream that she was on the toilet until she felt herself wet. No biggie. We do not scold/pressure/use rewards or punishments for accidents. They don't do it on purpose.
Kick back, don't pressure her, and just encourage... but without pressure. Even perhaps tell her, you don't expect her to be "perfect."
Again, accidents happens. Preschool kids, Kindergarten kids, and even 1st grader kids have accidents. Still. And ALL my daughter's Teachers said the same thing. Only that they parents won't admit to it... openly. But it happens and is normal.
For naps and bedtime, I never used pull-ups. They are useless... they don't hold much and leak and are expensive. I just used night time Diapers by Huggies.
ALL my friends has well, who have 5 year olds, their kids are still using diapers at night. The bladder is not mature enough yet. And a child that age, still may want/need their parent to go with them to the toilet at night, if they wake up. IF they wake up and are at that stage, of being able to wake at night, at-will, to go to pee.
all the best,
Susan