From 19ff8dde1f59c331e2c9f6183b3c7b926c50ba2b Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Wed, 3 Jun 2020 20:34:20 +0100 Subject: [PATCH] fix loading test for new sso pattern Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- test/app-tests/loading-test.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/app-tests/loading-test.js b/test/app-tests/loading-test.js index 64872aaac..363be8195 100644 --- a/test/app-tests/loading-test.js +++ b/test/app-tests/loading-test.js @@ -589,8 +589,10 @@ describe('loading:', function() { describe('Token login:', function() { it('logs in successfully', function() { + localStorage.setItem("mx_hs_url", "https://homeserver"); + localStorage.setItem("mx_is_url", "https://idserver"); loadApp({ - queryString: "?loginToken=secretToken&homeserver=https%3A%2F%2Fhomeserver&identityServer=https%3A%2F%2Fidserver", + queryString: "?loginToken=secretToken", }); return sleep(1).then(() => {