use of com.adobe.cq.wcm.core.components.it.seljup.util.components.formbutton.v1.FormButton in project aem-core-wcm-components by Adobe-Marketing-Cloud.
the class FormButtonIT method setupBefore.
/**
* Before Test Case
*/
@BeforeEach
public void setupBefore() throws ClientException {
testPage = authorClient.createPage("testPage", "Test Page", rootPage, defaultPageTemplate, 200, 201).getSlingPath();
proxyComponentPath = Commons.creatProxyComponent(adminClient, Commons.rtFormButton_v1, "Proxy Form Button", componentName);
addPathtoComponentPolicy(responsiveGridPath, proxyComponentPath);
cmpPath = Commons.addComponent(adminClient, proxyComponentPath, testPage + Commons.relParentCompPath, componentName, null);
formButton = new FormButton();
editorPage = new PageEditorPage(testPage);
editorPage.open();
}
use of com.adobe.cq.wcm.core.components.it.seljup.util.components.formbutton.v1.FormButton in project aem-core-wcm-components by Adobe-Marketing-Cloud.
the class FormButtonIT method setupBefore.
/**
* Before Test Case
*/
@BeforeEach
public void setupBefore() throws ClientException {
testPage = authorClient.createPage("testPage", "Test Page", rootPage, defaultPageTemplate, 200, 201).getSlingPath();
proxyComponentPath = Commons.creatProxyComponent(adminClient, Commons.rtFormButton_v2, "Proxy Form Button", "formbutton");
addPathtoComponentPolicy(responsiveGridPath, proxyComponentPath);
cmpPath = Commons.addComponent(adminClient, proxyComponentPath, testPage + Commons.relParentCompPath, componentName, null);
formButton = new FormButton();
editorPage = new PageEditorPage(testPage);
editorPage.open();
}
Aggregations