Adobe Global Community

Testing DTM with Puppeteer, Mocha and Chai

Published on by Alexis Cazes on
This project uses Puppeteer to automate the testing of Adobe DTM implementation. Mocha testing framework is used to run the tests. Chai assertion library is used. We are using expect in a BDD format. The following are tested: √ _satellite object exist √ DTM is initialized √ DTM library name exist √ DTM Analytics tool is loaded √ DTM Visitor ID services tool is loaded √ Userzoom feedback button displayed (also takes a screenshot if UserZoom is present under test/screenshots)


comments powered by Disqus

Get Insights from the AGC!

Related Posts