@@ -222,8 +222,7 @@ describe('loading:', function() {
222222 } ) . done ( done , done ) ;
223223 } ) ;
224224
225- // TODO: Repair this test in https://github.com/vector-im/riot-web/issues/8468
226- /* it('should follow the original link after successful login', function(done) {
225+ it ( 'should follow the original link after successful login' , function ( done ) {
227226 loadApp ( {
228227 uriFragment : "#/room/!room:id" ,
229228 } ) ;
@@ -258,10 +257,9 @@ describe('loading:', function() {
258257 expect ( localStorage . getItem ( 'mx_hs_url' ) ) . toEqual ( DEFAULT_HS_URL ) ;
259258 expect ( localStorage . getItem ( 'mx_is_url' ) ) . toEqual ( DEFAULT_IS_URL ) ;
260259 } ) . done ( done , done ) ;
261- }); */
260+ } ) ;
262261
263- // TODO: Repair this test in https://github.com/vector-im/riot-web/issues/8468
264- /* it('should not register as a guest when using a #/login link', function() {
262+ it ( 'should not register as a guest when using a #/login link' , function ( ) {
265263 loadApp ( {
266264 uriFragment : "#/login" ,
267265 } ) ;
@@ -288,7 +286,7 @@ describe('loading:', function() {
288286 matrixChat , sdk . getComponent ( 'structures.EmbeddedPage' ) ) ;
289287 expect ( windowLocation . hash ) . toEqual ( "#/home" ) ;
290288 } ) ;
291- }); */
289+ } ) ;
292290 } ) ;
293291
294292 describe ( "MatrixClient rehydrated from stored credentials:" , function ( ) {
@@ -300,8 +298,7 @@ describe('loading:', function() {
300298 localStorage . setItem ( "mx_last_room_id" , "!last_room:id" ) ;
301299 } ) ;
302300
303- // TODO: Repair this test in https://github.com/vector-im/riot-web/issues/8468
304- /* it('shows the last known room by default', function() {
301+ it ( 'shows the last known room by default' , function ( ) {
305302 httpBackend . when ( 'GET' , '/pushrules' ) . respond ( 200 , { } ) ;
306303 httpBackend . when ( 'POST' , '/filter' ) . respond ( 200 , { filter_id : 'fid' } ) ;
307304
@@ -357,7 +354,7 @@ describe('loading:', function() {
357354 httpBackend . verifyNoOutstandingExpectation ( ) ;
358355 expect ( windowLocation . hash ) . toEqual ( "#/room/!room:id" ) ;
359356 } ) . done ( done , done ) ;
360- }); */
357+ } ) ;
361358
362359 describe ( '/#/login link:' , function ( ) {
363360 beforeEach ( function ( ) {
@@ -387,16 +384,15 @@ describe('loading:', function() {
387384 }
388385 } ) ;
389386
390- // TODO: Repair this test in https://github.com/vector-im/riot-web/issues/8468
391- /* it('shows the homepage after login', function() {
387+ it ( 'shows the homepage after login' , function ( ) {
392388 return completeLogin ( matrixChat ) . then ( ( ) => {
393389 // we should see a home page, even though we previously had
394390 // a stored mx_last_room_id
395391 ReactTestUtils . findRenderedComponentWithType (
396392 matrixChat , sdk . getComponent ( 'structures.EmbeddedPage' ) ) ;
397393 expect ( windowLocation . hash ) . toEqual ( "#/home" ) ;
398394 } ) ;
399- }); */
395+ } ) ;
400396 } ) ;
401397 } ) ;
402398
0 commit comments