window.qunitTestsArray['guiViews[dashboard]']={test:function(){syncQUnit.addTest("guiViews['dashboard'].open",function(assert){let done=assert.async();let url="/";let expectation=true;current_view._initLoadingPromise();if(url==app.application.$route.path){current_view.setLoadingSuccessful();}else{app.application.$router.push({path:url});}
let getTestResult=(result)=>{assert.ok(result==expectation,"guiViews['dashboard'].opened");testdone(done);};current_view.promise.then(()=>{getTestResult(true);}).catch(error=>{getTestResult(false);});});},};