Using the recorder with Coded UI we test our UI for continuous integration purposes but we have hit a snag in that one of the actions we want to test is a delete action.
We check the list item we are going to delete exists, we then press delete, the delete command removes it from the collection that is being bound too, we assert that the list item no longer exists but it still says it does
We thought it might of took a few seconds to fully get rid of the object so we put a 20 second wait before asserting but still says it exists
The automation id's for the listitems are truly unique, they are made up of a string + the id of the number in the list + the value of the textblock in the list item, so it is definitely not getting confused with another element
Any thought's on this would be greatly appreciated?