Skip to content

Commit

Permalink
fixing GUI tests (TestPageUser)
Browse files Browse the repository at this point in the history
  • Loading branch information
katkav committed Jun 14, 2021
1 parent 0ca96cc commit b20dd24
Showing 1 changed file with 11 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,11 +149,19 @@ public void test012renderHistoryTab() {
tester.assertComponent(historyPanel, ObjectHistoryTabPanel.class);
}

@Test
public void test013renderCasesTab() {
renderPage();

String tabPath = "mainPanel:mainForm:tabPanel:tabs-container:tabs:4:link";
tester.assertInvisible(tabPath);
}

@Test
public void test014renderPersonasTab() {
renderPage();

clickOnTab(4);
clickOnTab(5);
String panel = "mainPanel:mainForm:tabPanel:panel";
tester.assertComponent(panel, AssignmentHolderTypeDetailsTabPanel.class);
}
Expand All @@ -162,7 +170,7 @@ public void test014renderPersonasTab() {
public void test015renderDelegationsTab() {
renderPage();

clickOnTab(5);
clickOnTab(6);
String panel = "mainPanel:mainForm:tabPanel:panel";
tester.assertComponent(panel, AssignmentHolderTypeDetailsTabPanel.class);
}
Expand All @@ -171,7 +179,7 @@ public void test015renderDelegationsTab() {
public void test016renderDelegatedToMeTab() {
renderPage();

clickOnTab(6);
clickOnTab(7);
String panel = "mainPanel:mainForm:tabPanel:panel";
tester.assertComponent(panel, AssignmentHolderTypeDetailsTabPanel.class);
}
Expand Down

0 comments on commit b20dd24

Please sign in to comment.