If the ramp goes up/down in test, it’s worth checking the switch that tells the game the ramp has hit the up position. You should be able to see it with the playfield lifted. It should push against the same metal piece I would grab from underneath to raise/lower the ramp manually for testing.