Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Questions related to Custom Functional Testing

Avatar

Level 1

A few questions while building an AEM custom functional test:  

To build a test for a custom component, such as the one below, what kind of arguments are needed. What should be the format of the argument? 

 

Image.png

 

Are there any demos available to use as a reference?  

AEM Functional Testing Reference: https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/implementing/using-...

 

1 Accepted Solution

Avatar

Correct answer by
Level 6

@Kabrawalaak 

 

I did not get the exact ask assuming that you are talking about running the ui.test and it.test reference can you refer to below project as an example and try 

 

https://github.com/adobe/aem-project-archetype/tree/develop/src/main/archetype/it.tests/src/main/jav...

 

https://github.com/adobe/aem-project-archetype/tree/develop/src/main/archetype/ui.tests

 

Unit testing custom component

https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-wknd-tutorial-devel...

 

 

Hope this is useful

 

View solution in original post

2 Replies

Avatar

Correct answer by
Level 6

@Kabrawalaak 

 

I did not get the exact ask assuming that you are talking about running the ui.test and it.test reference can you refer to below project as an example and try 

 

https://github.com/adobe/aem-project-archetype/tree/develop/src/main/archetype/it.tests/src/main/jav...

 

https://github.com/adobe/aem-project-archetype/tree/develop/src/main/archetype/ui.tests

 

Unit testing custom component

https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-wknd-tutorial-devel...

 

 

Hope this is useful