Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 4b655b7e authored by Sonali MOHANTY's avatar Sonali MOHANTY
Browse files

Failed testcases got fixed.

parent 74357e11
No related branches found
No related tags found
No related merge requests found
......@@ -320,6 +320,17 @@ public class UsersPgTest extends BaseTest {
soft.assertTrue(options.size() == 2, "Role dropdown has only two values");
soft.assertTrue(options.get(0).equalsIgnoreCase("SMP_ADMIN"), "Role dropdown has value \"SMP_ADMIN\"");
soft.assertTrue(options.get(1).equalsIgnoreCase("SERVICE_GROUP_ADMIN"), "Role dropdown has value \"SERVICE_GROUP_ADMIN\"");
page.refreshPage();
int index2 = page.grid().scrollToUserWithRole("SERVICE_GROUP_ADMIN");
page.grid().selectRow(index2);
popup = page.clickEdit();
options = popup.rolesSelect.getOptionTexts();
soft.assertTrue(options.size() == 2, "Role dropdown has only two values");
soft.assertTrue(options.get(0).equalsIgnoreCase("SMP_ADMIN"), "Role dropdown has value \"SMP_ADMIN\"");
soft.assertTrue(options.get(1).equalsIgnoreCase("SERVICE_GROUP_ADMIN"), "Role dropdown has value \"SERVICE_GROUP_ADMIN\"");
soft.assertAll();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment