I'm not sure this will solve my issue but it seems the most likely.
The code right now, in the after hook, redirects to a non-angular page from an angular page via browser.get.
The redirection does happen, unfortunately before moving on to the next scenario it attempts to find angular on the page and will block on that before printing an error and continuing on as intended.
My idea was to use browser.driver.get and simply wait for the url change but I'm not sure how to use browser.wait in hooks.
Thank you