mirror of https://github.com/vector-im/riot-web
fix loading test for new sso pattern
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/13915/head
parent
ddf3d92d43
commit
1b7accddfd
|
@ -589,8 +589,10 @@ describe('loading:', function() {
|
||||||
|
|
||||||
describe('Token login:', function() {
|
describe('Token login:', function() {
|
||||||
it('logs in successfully', function() {
|
it('logs in successfully', function() {
|
||||||
|
localStorage.setItem("mx_hs_url", "https://homeserver");
|
||||||
|
localStorage.setItem("mx_is_url", "https://idserver");
|
||||||
loadApp({
|
loadApp({
|
||||||
queryString: "?loginToken=secretToken&homeserver=https%3A%2F%2Fhomeserver&identityServer=https%3A%2F%2Fidserver",
|
queryString: "?loginToken=secretToken",
|
||||||
});
|
});
|
||||||
|
|
||||||
return sleep(1).then(() => {
|
return sleep(1).then(() => {
|
||||||
|
|
Loading…
Reference in New Issue