How do you “test once arranged” as your test are modifying things that conflict?
Setup: login.
Test 1: delete your account.
Test 2: can change username.
The last time I saw this handled was a test copy of db per thread and transactional test rolled back. Not great but it did 10x our pipelines and avoided locks and issues.