@axa-ch/pod-manual-test-helper

TBD

Usage no npm install needed!

<script type="module">
  import axaChPodManualTestHelper from 'https://cdn.skypack.dev/@axa-ch/pod-manual-test-helper';
</script>

README

POD PodManualTestHelper

This is used to test other PODs. Please deploy it as single pod release using the jenkins pipeline and then drag it on the AEM page you want to test.

Mocking done so far:

  • Menu Manager: This pod will use the POD Menu Manger's API to test if any pod can update the main header

  • Store: The variable debug_store is present in the window object

Scripts

To install the pod locally: npm install @axa-ch/pod-manual-test-helper

DEV commands

  • npm start start local DEV environment
  • npm run build to trigger a ESM build needed for Midgard
  • npm run test to run local tests
  • npm run release to execute a release to NPM (VERY IMPORTANT: Read How To Release on this document).

How to release

  1. update package.json in the "version": "x.x.x" field. Please follow semver best practices

  2. run npm run release

  3. commit to develop, add git tag containg the same version as in step 1 and push

  4. Execute jenkins jobs (build & deploy and if all good: promote) with the version added in point 1

Worth a read