Testability protractor error when your site redirects to another page

Have you ever had this issue when running your protractor automation tests ? Error: Error while waiting for Protractor to sync with the page: “Cannot read property ‘$$testability’ of undefined” at runWaitForAngularScript.then (/node_modules/protractor/lib/browser. ts:653:19) at ManagedPromise.invokeCallback_ (/node_modules/selenium-webdriver/ lib/promise.js:1366:14) at TaskQueue.execute_ (/node_modules/selenium-webdriver/lib/promise. js:2970:14) at TaskQueue.executeNext_ (/node_modules/selenium-webdriver/lib/promise .js:2953:27) at asyncRun (/node_modules/selenium-webdriver/lib/promise.js:2813:27) at /node_modules/selenium-webdriver/lib/promise.js:676:7 at (anonymous) at […]

https://azevedorafaela.wordpress.com/2017/09/09/testability-protractor-error-when-your-site-redirects-to-another-page/

Never seen this, but good to know.

Looks like your connection to Agile Testers was lost, please wait while we try to reconnect.