Expand my Community achievements bar.

AEM UI testing using Selenium via Cloud manager in AEM as a Cloud Service

Avatar

Level 1

Hi Everyone,

 

I am new to Selenium UI testing using cloud manager in AEM. We have a new requirement wherein we would like to have the UI testing integrated as part of the cloud manager pipelines during deployment.

 

I went through the following documentations:

https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/implementing/usi...

 

aem-test-samples/ui-selenium-webdriver at aem-cloud · adobe/aem-test-samples · GitHub

 

But unable to understand how to integrate this with docker since I am unable to start the testing framework after following the above steps.

 

Is there any video tutorial or samples to help me understand the same and configure.

Can you please share any sample test cases for writing Selenium scripts using locators and testNG ?

Observed that the sample provided in github is limited to only the authoring interface UI.

Share if any use cases where we have used AEM UI tests using Selenium for End sites testing?

 

Thanks in Advance for your inputs. Appreciate your help.

@arunpatidar @divanshug @EstebanBustamante @Asutosh_Jena_ @HrishikeshKa @MukeshYadav_ @Albin_Issac @pulkitvashisth @kautuk_sahni 

 

1 Reply

Avatar

Community Advisor

Hi,

 

The current preference is to use Cypress; however, you can still use Selenium if you need or want to. One of the older versions of the AEM archetype used Selenium as the default E2E framework. This is the commit that introduced cypress as the preferred framework: https://github.com/adobe/aem-project-archetype/commit/dd01179483134cae121558ef45e407cc1e2a649c. I would suggest downloading the archetype <=43 and running it locally. This will provide you with a fully working example of Selenium and E2E tests.

 

Hope this helps!



Esteban Bustamante