Uploaded image for project: 'Insights Experiences'
  1. Insights Experiences
  2. HMS-10048

[QE] Update test utils to handle new analytics banners in Content-Sources (Pendo to Amplitude migration)

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • Content
    • None
    • insights-content
    • Content 14
    • 1

      Description

      As of January 2nd, 2026, Red Hat has migrated from Pendo to Amplitude for analytics reporting, in-app guides, and NPS surveys.

      Our current Playwright test suite contains logic specifically designed to close Pendo guides, which are now obsolete:

      export const closePopupsIfExist = async (page: Page) => {
        const locatorsToCheck = [
          page.locator(`button[id^="pendo-close-guide-"]`),
          page.locator(`button[id="truste-consent-button"]`), 
        ];

      These pop-ups (guides and surveys) can interfere with test execution by blocking elements, and the scripts add unnecessary noise to our test traces.

      Expected Results

      [ ] closePopupsIfExist function is updated with Amplitude selectors

      [ ] Block the Amplitude analytics scripts to reduce noise in test traces

              swadeley@redhat.com Stephen Wadeley
              rh-ee-kzaprazn Kate Zaprazna
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: