@@ -36,12 +36,12 @@ public static void clickOnTheHamburgerIcon() {
3636
3737 @ Then ("Click on NameSpace Admin link from the menu" )
3838 public void openNameSpaceAdminPage () {
39- CdfNameSpaceAdminActions .clickOnNameSpaceAdminTab ();
39+ CdfNameSpaceAdminActions .openNamespaceAdminPage ();
4040 }
4141
4242 @ Then ("Click on create profile button for {string} Namespace" )
4343 public void createProfileinsideNamespaceAdmin (String nameSpace ) {
44- CdfNameSpaceAdminActions .createProfileforNameSpace (nameSpace );
44+ CdfNameSpaceAdminActions .createProfileForNamespace (nameSpace );
4545 }
4646
4747 @ Then ("Click {string} tab from Configuration page for {string} Namespace" )
@@ -56,20 +56,20 @@ public void clickOnEditNameSpacePreferences() {
5656
5757 @ Then ("Click on Namespace dropdown button" )
5858 public void openNameSpaceDropdown () {
59- CdfNameSpaceAdminActions .openNameSpacedropdown ();
59+ CdfNameSpaceAdminActions .openNamespaceDropdown ();
6060 }
6161
6262 @ Then ("Click on the Add Namespace tab" )
6363 public void addNamespaceFromHamburgerMenu () {
64- CdfNameSpaceAdminActions .addNameSpacefromHamnugerMenu ();
64+ CdfNameSpaceAdminActions .addNamespaceFromHamburgerMenu ();
6565 }
6666
6767 @ Then ("Select navigation item: {string} from the Hamburger menu list" )
6868 public void selectNavigationItemFromMenu (String tabName ) {
6969 CdfNameSpaceAdminActions .selectHamburgerMenuList (tabName );
7070 }
7171
72- @ Then ("Set nameSpace preferences with key: {string} and value: {string}" )
72+ @ Then ("Set namespace preferences with key: {string} and value: {string}" )
7373 public void setSystemPreferencesWithKeyAndValue (String pluginProperty , String keyValuePairs ) {
7474 CdfNameSpaceAdminActions .enterKeyValuePreferences (pluginProperty , keyValuePairs );
7575 }
@@ -134,7 +134,7 @@ public void switchToNewNameSpace() {
134134 CdfNameSpaceAdminActions .switchToNewNameSpace ();
135135 }
136136
137- @ Then ("Verify if the switch is successful by checking the current {string} value " )
137+ @ Then ("Verify the namespace is switched to {string} successfully " )
138138 public void verifyNameSpaceSwitch (String newNameSpaceName ) {
139139 CdfNameSpaceAdminActions .verifySwitchToNewNamespace (newNameSpaceName );
140140 }
@@ -146,8 +146,18 @@ public void addConnectionInNameSpaceAdmin(String connectionType, String connecti
146146 CdfPluginPropertiesActions .replaceValueInInputProperty ("projectId" , "projectId" );
147147 }
148148
149- @ Then ("Verify that the user is navigated to nameSpace admin page successfully " )
150- public void verifyThatHubPageIsSuccessfullyOpened () {
149+ @ Then ("Verify if user successfully navigated to namespace admin page" )
150+ public void verifyThatNamespacePageIsSuccessfullyOpened () {
151151 CdfNameSpaceAdminActions .verifyElementIsDisplayed ();
152152 }
153+
154+ @ Then ("Verify the Create a Profile page is loaded for selected provisioner" )
155+ public void verifyTheCreateAProfilePageIsLoaded () {
156+ CdfNameSpaceAdminActions .verifyCreateProfilePageLoaded ();
157+ }
158+
159+ @ Then ("Verify the created compute profile: {string} is displayed in system compute profile list" )
160+ public void verifyTheCreatedComputeProfile (String profile ) {
161+ CdfNameSpaceAdminActions .verifyProvisionerPresentComputeProfile (profile );
162+ }
153163}
0 commit comments