Washer fills while not in use

I have a front load washer that fills slowly while not in use. I had a spare inlet valve and have replaced that but it still fills. What is the next step to test.