Hi All,We have a requirement as shown below:1. A page (PageA) will have two components2. First component (Component A) is a path browser which allows user to link to another page (Page B).3.Second component (Component B) has various fields and a multifield.4. The multifield in Component B has dropdo...
Thanks for your quick response. Even after following this, pagemanager object is still null as shown below.
java.lang.RuntimeException: No page manager.
at io.wcm.testing.mock.aem.builder.ContentBuilder.page(ContentBuilder.java:150)
at io.wcm.testing.mock.aem.builder.ContentBuilder.page(ContentB...
I tried using context.pageManager().create("pagePath", "pageName", "template", "pageTitle", true);
but pageManager is always null. Please give your suggestions on how to mock JcrUtil methods using Junit5