-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
new sysadmin locators, actions and steps definition #15
base: develop
Are you sure you want to change the base?
Conversation
* @param requestMethod any specific value | ||
*/ | ||
public static void selectRequestDropdownOption(String requestMethod) { | ||
Select objSelect = new Select(CdfSysAdminLocators.requestMethod); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we change objSelect
to selectRequestMethod
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed to selectRequestMethod
@@ -51,4 +53,47 @@ public class CdfSysAdminLocators { | |||
|
|||
@FindBy(how = How.XPATH, using = "//*[@data-cy='Clear All']") | |||
public static WebElement clearAll; | |||
|
|||
@FindBy(how = How.XPATH, using = "//*[@data-cy='wizard-result-icon-close-btn']") | |||
public static WebElement clickOnCloseNamespaceWindow; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we remove using click while defining locators , click/sendKeys are user functions which we can use in methods but not in while declaring locators . the naming should be like CloseNamespaceWindowButton .
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change done in final PR and in this as well.
@FindBy(how = How.XPATH, using = "//a[contains(text(), 'Go to homepage')]") | ||
public static WebElement goToHomepage; | ||
|
||
@FindBy(how = How.XPATH, using = "//a[@href='/cdap/httpexecutor']") //remove later |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove this comment in final code Or specify a proper comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed here and also In Final PR code while merging this is removed.
new sysadmin locators, actions and steps definition