use of com.adobe.cq.testing.selenium.pagewidgets.cq.AutoCompleteField in project aem-core-wcm-components by Adobe-Marketing-Cloud.
the class ImageEditDialog method setLinkURL.
public void setLinkURL(String url) {
AutoCompleteField autoCompleteField = new AutoCompleteField("css:" + linkUrl);
autoCompleteField.sendKeys(url);
$("button[is='coral-buttonlist-item'][value='" + url + "']").click();
}
use of com.adobe.cq.testing.selenium.pagewidgets.cq.AutoCompleteField in project aem-core-wcm-components by Adobe-Marketing-Cloud.
the class ImageEditDialog method setAssetFilter.
public void setAssetFilter(String filter) {
AutoCompleteField autoCompleteField = new AutoCompleteField("css:" + assetFilter);
autoCompleteField.sendKeys(filter);
autoCompleteField.suggestions().selectByValue(filter);
}
use of com.adobe.cq.testing.selenium.pagewidgets.cq.AutoCompleteField in project aem-core-wcm-components by Adobe-Marketing-Cloud.
the class ButtonEditDialog method setLinkField.
public void setLinkField(String value, String propertyName) {
String selector = "./" + propertyName;
AutoCompleteField autoCompleteField = new AutoCompleteField(selector);
final WebDriver webDriver = WebDriverRunner.getWebDriver();
new WebDriverWait(webDriver, RequestConstants.TIMEOUT_TIME_SEC).until(ExpectedConditions.elementToBeClickable(By.cssSelector(autoCompleteField.getCssSelector())));
autoCompleteField.sendKeys(value);
}
use of com.adobe.cq.testing.selenium.pagewidgets.cq.AutoCompleteField in project aem-core-wcm-components by Adobe-Marketing-Cloud.
the class TeaserEditDialog method setLinkURL.
public void setLinkURL(String url) {
AutoCompleteField autoCompleteField = new AutoCompleteField("css:" + linkUrl);
autoCompleteField.sendKeys(url);
$("button[is='coral-buttonlist-item'][value='" + url + "']").click();
}
use of com.adobe.cq.testing.selenium.pagewidgets.cq.AutoCompleteField in project aem-core-wcm-components by Adobe-Marketing-Cloud.
the class LanguageNavigationEditConfig method setNavigationRoot.
public void setNavigationRoot(String value) {
AutoCompleteField autoCompleteField = new AutoCompleteField("css:" + navigationRoot);
autoCompleteField.sendKeys(value);
autoCompleteField.suggestions().selectByValue(value);
}
Aggregations