From a5a29b0591c5a8b4719cc93618c234a1be097006 Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Sat, 22 Jul 2017 06:29:40 +0100 Subject: [PATCH] docs(aio): delay ngUpgrade e2e test to avoid flakes --- aio/content/examples/upgrade-phonecat-2-hybrid/e2e-spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/aio/content/examples/upgrade-phonecat-2-hybrid/e2e-spec.ts b/aio/content/examples/upgrade-phonecat-2-hybrid/e2e-spec.ts index c28fd38f8e..69e57d7151 100644 --- a/aio/content/examples/upgrade-phonecat-2-hybrid/e2e-spec.ts +++ b/aio/content/examples/upgrade-phonecat-2-hybrid/e2e-spec.ts @@ -9,6 +9,7 @@ describe('PhoneCat Application', function() { it('should redirect `index.html` to `index.html#!/phones', function() { browser.get('index.html'); + browser.sleep(1000); // Not sure why this is needed but it is. The route change works fine. expect(browser.getCurrentUrl()).toMatch(/\/phones$/); });