import{r as registerInstance,h,H as Host}from"./index-ecdfb761.js";var khanguruUiTestOverviewCss="khanguru-ui-test-overview{display:block;background:white}khanguru-ui-test-overview .scenario-list{-ms-flex:0 0 240px;flex:0 0 240px}khanguru-ui-test-overview .scenario-wrapper{height:100vh;overflow:hidden;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}";var scenarios=[{sectionTitle:"Membership activation",scenarios:[{tag:"khanguru-ui-test-membership-activation-1",name:"Anonymous - Inactive membership of inactive user",description:"\n          Anonymous user viewing an inactive membership belongs to an inactive user.\n          User should see **activate user form**.\n        "},{tag:"khanguru-ui-test-membership-activation-2",name:"Anonymous - Inactive membership of active user",description:"\n          Anonymous user is viewing an inactive membership belongs to an active user.\n          User should see **login required message**.\n        "},{tag:"khanguru-ui-test-membership-activation-3",name:"Anonymous - Active membership of active user",description:"\n          Anonymous user is viewing an active membership belongs to an active user.\n          User should see **login required message**.\n        "},{tag:"khanguru-ui-test-membership-activation-4",name:"Inactive membership of active user",description:"\n          User is viewing an inactive membership belongs to itself.\n          User should see **membership activation form**.\n        "},{tag:"khanguru-ui-test-membership-activation-5",name:"Active user viewing wrong membership",description:"\n          User is viewing a membership that doesn't belong to them.\n          User should see **page not found error**.\n        "}]}];var KhanguruUITestOverview=function(){function e(e){registerInstance(this,e)}e.prototype.componentWillLoad=function(){this.selectedScenario=scenarios[0].scenarios[0]};e.prototype.render=function(){var e=this;var i=this.selectedScenario.tag;return h(Host,null,h("dvn-theme-provider",null,h("dvn-global-table",null),h("dvn-global-grid",null),h("dvn-global-text",null),h("notifier-wrapper",null,h("div",{class:"d-flex"},h("div",{class:"scenario-list"},h("dvn-menu",null,scenarios.map((function(i){return h("dvn-menu-section",{"section-title":i.sectionTitle},i.scenarios.map((function(i){return h("dvn-menu-item",{highlighted:i.tag===e.selectedScenario.tag,onClick:function(){return e.selectedScenario=i}},i.name)})))})))),h("div",{class:"scenario-wrapper flex-grow-1"},h(i,{key:i}))))))};return e}();KhanguruUITestOverview.style=khanguruUiTestOverviewCss;export{KhanguruUITestOverview as khanguru_ui_test_overview};