Disable and fix broken popup tests

Mark broken test as TODO
Skip test if the popup doesn't open
Make button in popup test open popup for manual testing
Merge pull request #1092 from Stuk/popup-tests

Disable and fix broken popup tests