test: Handling properly Canceled or LaunchBrowser errors