Thank you for your request. I am assuming you are referring to an undo button in the context of test writing.
We are actively working on a History Feature for test case, that will allow users to go back and forth on steps added/removed or generally changed in a test case.