docs(aio): delay ngUpgrade e2e test to avoid flakes

This commit is contained in:
Peter Bacon Darwin 2017-07-22 06:29:40 +01:00 committed by Alex Rickabaugh
parent b5ffbe342b
commit 71eb7437b6
1 changed files with 1 additions and 0 deletions

View File

@ -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$/);
});