test: poll after editFile in playground tests (#23186)