I want to write UI automated test scripts for an application that has functionalities of Add user, edit user, delete user.
How can I do this since I am going to run the scripts in a pipeline/continuously? My issue is that the tests may fail after the delete user test runs since there may be no more data. How do I write tests such that there is always data to add, edit and delete even if I want to run these tests in parallel? Can I do this with UI tests? the application lets you view when you add, edit or delete a user? or what are some of the best ways for this?