Skip to content

backmerge - #247

Merged
HasanCPS merged 7 commits into
developmentfrom
main
Sep 23, 2026
Merged

HasanCPS merged 7 commits into
developmentfrom
main

Conversation

@lilachdavis

Copy link
Copy Markdown
Contributor

No description provided.

bridgesr and others added 7 commits September 16, 2026 13:54
* tracking of events using journey id

* pr comments
* added a TelemetryLogger Service for ui

* clean up and refactor and added unit tests

* updated the test
* telemetry tracking properties

* pr comment fixes
…events (#239)

* implemented ui tracking page views and few custom events

* added journeyId and areaOrDivisionText for caseregistration request

* fixed the pull request comments

* minor refactor
* handled 401 error on initial page load

* added unit tests

* fixed the pr comments

* minor refactor
The tag itself shipped in #229; this covers it against the real
/api/v1/offences response, where previously only the MSW integration
suite asserted it.

Expectations come from the search response rather than hardcoded codes:
the offences are split into repealed (an "effective to" date is present)
and active, and the rendered table is checked against that split, so the
test holds as the reference data changes. It fails loudly if a search
returns only one kind, rather than passing vacuously.

Covers all three acceptance criteria - a tag for every offence with an
"effective to" date, no tag for any without one, and the tag sitting in
the Description column beneath the description text, carrying the GOV.UK
warning styling that distinguishes it.

Each was falsified before being kept: treating active offences as
repealed fails the tag count (expected 19, received 1), looking for the
tag in the Statute column fails on visibility, and expecting the
description without the tag appended fails the cell text.
@lilachdavis lilachdavis reopened this Sep 23, 2026
@lilachdavis
lilachdavis marked this pull request as ready for review September 23, 2026 14:27
@sonarqubecloud

sonarqubecloud Bot commented Sep 23, 2026 •

Copy link
Copy Markdown

@HasanCPS
HasanCPS merged commit 7cad2d2 into development Sep 23, 2026
10 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

5 participants