Replacing a membrane switch with a relay for automated testing

Key question. You say "skipping cycles".
Just the device or the relay, too?
In other words, if you put a scope (or voltmeter) on the relay contacts and then on the relay coil
do you see a skipped cycle on the relay contacts, the relay coil, or both?

Also 2000 ms seems long to simulate a finger press. Use 500.