Skip to content

Commit

Permalink
schrodinger: lab10 manager panel test - added screenshot
Browse files Browse the repository at this point in the history
  • Loading branch information
KaterynaHonchar committed Jan 12, 2021
1 parent 3675858 commit b9e35b7
Showing 1 changed file with 6 additions and 3 deletions.
Expand Up @@ -16,6 +16,7 @@
import com.evolveum.midpoint.schrodinger.component.common.PrismForm;
import com.evolveum.midpoint.schrodinger.component.common.PrismFormWithActionButtons;
import com.evolveum.midpoint.schrodinger.component.configuration.ObjectPolicyTab;
import com.evolveum.midpoint.schrodinger.component.org.ManagerPanel;
import com.evolveum.midpoint.schrodinger.component.org.OrgRootTab;
import com.evolveum.midpoint.schrodinger.component.resource.ResourceAccountsTab;
import com.evolveum.midpoint.schrodinger.page.resource.ViewResourcePage;
Expand Down Expand Up @@ -297,12 +298,14 @@ public void mod10test04FinishingManagerMapping() {

OrgRootTab rootTab = basicPage.orgStructure()
.selectTabWithRootOrg("ExAmPLE, Inc. - Functional Structure");
Assert.assertTrue(rootTab.getOrgHierarchyPanel()
ManagerPanel<OrgRootTab> managerPanel = rootTab.getOrgHierarchyPanel()
.showTreeNodeDropDownMenu("Technology Division")
.expandAll()
.expandAll()
.selectOrgInTree("IT Administration Department")
.and()
.getManagerPanel()
.getManagerPanel();
Selenide.screenshot("managersPanel");
Assert.assertTrue(managerPanel
.containsManager("John Wicks"));

rootTab.getMemberPanel()
Expand Down

0 comments on commit b9e35b7

Please sign in to comment.