use of com.adobe.cq.testing.selenium.pagewidgets.coral.CoralCheckbox in project aem-core-wcm-components by Adobe-Marketing-Cloud.
the class CarouselIT method testAutoplayGroup.
@Test
@DisplayName("Test: Autoplay group toggle")
public void testAutoplayGroup() throws InterruptedException {
createItems();
CarouselEditDialog editDialog = carousel.openEditDialog(cmpPath);
editDialog.openEditDialogProperties();
CoralCheckbox autoplay = editDialog.getAutoplay();
assertTrue(autoplay.isChecked() == false, "Autoplay should be unchecked");
assertTrue(editDialog.getAutoplayGroup().isDisplayed() == false, "Autoplay Group should not be visible");
autoplay.setSelected(true);
assertTrue(editDialog.getAutoplayGroup().isDisplayed() == true, "Autoplay Group should be visible");
autoplay.setSelected(false);
assertTrue(editDialog.getAutoplayGroup().isDisplayed() == false, "Autoplay Group should not be visible");
}
use of com.adobe.cq.testing.selenium.pagewidgets.coral.CoralCheckbox in project aem-core-wcm-components by Adobe-Marketing-Cloud.
the class ListEditDialog method clickShowModificationDate.
public void clickShowModificationDate() {
CoralCheckbox checkbox = new CoralCheckbox(showModificationDate);
checkbox.click();
}
use of com.adobe.cq.testing.selenium.pagewidgets.coral.CoralCheckbox in project aem-core-wcm-components by Adobe-Marketing-Cloud.
the class NavigationEditDialog method clickCollectAllPages.
public void clickCollectAllPages() {
CoralCheckbox checkbox = new CoralCheckbox(collectAllPages);
checkbox.click();
}
use of com.adobe.cq.testing.selenium.pagewidgets.coral.CoralCheckbox in project aem-core-wcm-components by Adobe-Marketing-Cloud.
the class Page method setGenerateSitemap.
public void setGenerateSitemap(boolean enabled) {
CoralCheckbox coralCheckbox = new CoralCheckbox(generateSitemap);
coralCheckbox.setSelected(enabled);
}
use of com.adobe.cq.testing.selenium.pagewidgets.coral.CoralCheckbox in project aem-core-wcm-components by Adobe-Marketing-Cloud.
the class FormTextEditDialog method setReadOnly.
public void setReadOnly() {
CoralCheckbox checkbox = new CoralCheckbox("[name='./readOnly']");
checkbox.click();
}
Aggregations