Remove waitsForAnimationFrame spec helper

It doesn’t work reliably on CI.
Null guard workspace element for deprecated update-available dispatch