you might need many changes to your testing site. Even you may want to set the site accordingly to replicate those issues. We need to just reset WordPress installation and set it up according to the new issue.. there are some inbuilt precautions it's just click of button to reset WordPress.. WordPress Plugin is free of cost on WordPress repository and you can install it from your dashboard.. Along with the default tables, it will also delete all the other tables. It will keep account and delete all other ID's from WordPress tables. Type reset and click on the button to reset WordPress.. You can create script to reset WordPress based on your test cases and use CLI commands to do that.. So, rather you can use this plugin to easily revert all the changes.
Read more