since ‎30-04-2020
‎15-01-2021
Sady_Rifat
Level 2
Re: How to write junit for below accordion multifield 6.5
Avatar

Sady_Rifat

Sady_Rifat
- Adobe Experience Manager
Hi, unit test for Accordion will be like this->@ExtendWith({AemContextExtension.class, MockitoExtension.class})public class AccordionTest { private final AemContext context = new AemContext(ResourceResolverType.JCR_MOCK); private Accordion accordion; @Mock private ModelFactory modelFactory; @BeforeEach public void setUp() throws Exception { context.addModelsForClasses(Accordion.class); context.load().json("/com/java/components/accordion.json", "/content/accordion"); context.currentResource("/con...

Views

145

Likes

2

Replies

1
Re: AEM 6.3 - Datepicker in dialog does not prepopulate p...
Avatar

Sady_Rifat

Sady_Rifat
- Adobe Experience Manager
Hi there, I also faced this similar issue.Then I used sling:resourceType="granite/ui/components/foundation/form/datepicker"instead of sling:resourceType="granite/ui/components/coral/foundation/form/datepicker" And this is able to prepopulate the previous value.

Views

291

Like

1

Replies

0
In the browser cookie section, there is a cookie called “...
Avatar

Sady_Rifat

Sady_Rifat
- Adobe Experience Manager
In the browser cookie section, there is a cookie called “login-token”. After removing this cookie it should be alright.

Views

212

Like

1

Replies

0
Likes given to
Likes from