mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
fix loading test for new sso pattern
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
d18b0f87d4
commit
19ff8dde1f
@ -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
Block a user