From fe2eb3b08222b7ad74fae008fbf492aca8c70f95 Mon Sep 17 00:00:00 2001 From: Juanfran Date: Fri, 29 Jan 2016 12:49:36 +0100 Subject: [PATCH] [Backport] fix logout e2e ie --- e2e/suites/auth/auth.e2e.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/e2e/suites/auth/auth.e2e.js b/e2e/suites/auth/auth.e2e.js index 52f15d91..9cac8f62 100644 --- a/e2e/suites/auth/auth.e2e.js +++ b/e2e/suites/auth/auth.e2e.js @@ -72,7 +72,9 @@ describe('auth', function() { let url = await browser.getCurrentUrl(); - expect(url).to.be.equal(browser.params.glob.host + 'login'); + await browser.wait(async () => { + return url === browser.params.glob.host + 'discover'; + }, 2000); }); describe("register", function() {