Ice Maker not getting water

My icemaker is no longer getting water. I checked the lines - they’re all clear. I switched the leads on the water valve between the water dispenser and icemaker. When I press the water dispenser, water feeds the icemaker. So, I’m thinking the water valve is O.K. I replaced the icemaker - it’s going through the entire cycle but still not getting water. Adjusted the fill level control - still no water. Any ideas on what to try next?