Skip to content

Conversation

@Gautham059
Copy link
Contributor

@Gautham059 Gautham059 commented Nov 12, 2025

Jira link

https://tools.hmcts.net/jira/browse/HDPI-2675

Change description

Implemented page content auto-vallidation for all the pages. Stages involved -

  1. Auto URL change detection
  2. Finding the appropriate file based on URL to filename mapping
  3. Iterate through all the elemnents in the file
  4. Validate the elements using their respective page locators.
  5. Report any missing elements in Allure reports. individually for each test.
  6. Fail the test if any mismtaches found.

Testing done

Failed test example:
image

Passed test example:
image

image

@Gautham059 Gautham059 added the enable_e2e_test Currently used to test the common e2e test call label Nov 12, 2025
@github-actions

This comment was marked as spam.

@github-actions

This comment was marked as spam.

@github-actions

This comment was marked as spam.

@github-actions
Copy link

github-actions bot commented Nov 12, 2025

CCD diff summary

👉 Full report: https://github.com/hmcts/pcs-api/actions/runs/19371702550?check_suite_focus=true

No change

@Gautham059 Gautham059 marked this pull request as ready for review November 14, 2025 09:06
@Gautham059 Gautham059 requested review from a team as code owners November 14, 2025 09:06
Copy link
Contributor

@SameenaHMCTS SameenaHMCTS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

Copy link
Contributor

@seymour-quality seymour-quality left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Contributor

@srinijg srinijg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me

@Gautham059 Gautham059 changed the title Content auto-validation added Content auto-validation implemented Nov 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants