Search in sources :

Example 1 with FormHidden

use of com.adobe.cq.wcm.core.components.it.seljup.util.components.formhidden.v1.FormHidden in project aem-core-wcm-components by Adobe-Marketing-Cloud.

the class FormHiddenIT method setup.

protected void setup() throws ClientException {
    // create the test page, store page path in 'testPagePath'
    testPage = authorClient.createPage("testPage", "Test Page Title", rootPage, defaultPageTemplate).getSlingPath();
    // create a proxy component
    compPathHidden = Commons.createProxyComponent(adminClient, formHiddenRT, Commons.proxyPath, null, null);
    // add the core form container component
    hiddenPath = Commons.addComponent(adminClient, compPathHidden, testPage + Commons.relParentCompPath, "formhidden", null);
    formHidden = new FormHidden();
    // open the page in the editor
    editorPage = new PageEditorPage(testPage);
    editorPage.open();
}
Also used : PageEditorPage(com.adobe.cq.testing.selenium.pageobject.PageEditorPage) FormHidden(com.adobe.cq.wcm.core.components.it.seljup.util.components.formhidden.v1.FormHidden)

Aggregations

PageEditorPage (com.adobe.cq.testing.selenium.pageobject.PageEditorPage)1 FormHidden (com.adobe.cq.wcm.core.components.it.seljup.util.components.formhidden.v1.FormHidden)1