Pregnancy test

If pee gets on the test where the result shows is the test not gonna work ? I see the windows are protected by plastic . How long do you wait to see results