Search in sources :

Example 1 with CoralMultiField

use of com.adobe.cq.testing.selenium.pagewidgets.coral.CoralMultiField in project aem-core-wcm-components by Adobe-Marketing-Cloud.

the class Page method addTemplate.

public CoralMultiField.MultiFieldItem addTemplate(AdvancedTab advancedTab, String templatePath) {
    CoralMultiField vanityField = advancedTab.allowedTemplates();
    CoralMultiField.MultiFieldItem item = vanityField.add();
    item.input().sendKeys(templatePath);
    return item;
}
Also used : CoralMultiField(com.adobe.cq.testing.selenium.pagewidgets.coral.CoralMultiField)

Example 2 with CoralMultiField

use of com.adobe.cq.testing.selenium.pagewidgets.coral.CoralMultiField in project aem-core-wcm-components by Adobe-Marketing-Cloud.

the class Page method addVanityUrl.

public CoralMultiField.MultiFieldItem addVanityUrl(PropertiesPage.Tabs.Basic basicTab, String vanityURL) {
    CoralMultiField vanityField = basicTab.vanityPath();
    CoralMultiField.MultiFieldItem item = vanityField.add();
    item.input().sendKeys(vanityURL);
    return item;
}
Also used : CoralMultiField(com.adobe.cq.testing.selenium.pagewidgets.coral.CoralMultiField)

Aggregations

CoralMultiField (com.adobe.cq.testing.selenium.pagewidgets.coral.CoralMultiField)2