Test Scenario: Badge Definition: swatch rendering, colour picker, and related-entity shortcuts
Table of Contents
This page documents a test scenario verifying Badge palette swatch rendering + data-driven fallback badge in Badge colour scheme: visual polish and self-badging fixes. It is filled in with the target dialog and checklist of steps before testing starts; the QA Validation Runner panel rewrites * Results in place on save.
Scenario Info
| Field | Value |
|---|---|
| Verifies task | Badge palette swatch rendering + data-driven fallback badge |
| Parent story | Badge colour scheme: visual polish and self-badging fixes |
| Target dialog | BadgeDefinitionMdiWindow / BadgeDefinitionDetailDialog |
| Clients | |
| State | PENDING |
Steps
Connect to tenant Barclays Plc
Log in as tenant_admin@barclays_plc / Secure-Password-123 and
select BARCLAYS PLC.
Result
| Field | Value |
|---|---|
| Status | PASS |
Open Badge Definitions list
- Data Quality -> Badges -> Badge Definitions.
- Confirm the Background and Text columns render as coloured pill/badge swatches (using each row's own colour), not raw hex text.
- Confirm the badges are legible: dark background rows show white text, light background rows show black text.
Result
| Field | Value |
|---|---|
| Status | PASS |
Open a badge for edit
- Double-click any row (e.g.
active) to open its detail dialog. - Confirm Background and Text fields are swatch buttons showing the current colour, not hex text fields.
- Confirm an Order spin box and a Severity field are also present.
Result
| Field | Value |
|---|---|
| Status | PASS |
| Notes | all looks good except eventing. |
Change colour via picker
- Click the Background swatch button; a colour dialog should open.
- Pick a new colour and confirm the button's fill updates immediately.
- Click Save; confirm the change-reason dialog appears, fill it in and confirm.
- Confirm the list's swatch for that row updates to the new colour after save.
Result
| Field | Value |
|---|---|
| Status | PASS |
Revert the colour change
- Re-open the same row and set the background colour back to its original value; save again, so the seed data is left unmodified.
Result
| Field | Value |
|---|---|
| Status | PASS |
Use the related-entity shortcuts
- On the Badge Definitions toolbar, confirm two new buttons: Severities and Mappings.
- Click Severities; confirm the Badge Severities list window opens.
- Click Mappings; confirm the Code Domains list window opens (badge mappings are managed per code domain via its Mappings tab, not a standalone window).
Result
| Field | Value |
|---|---|
| Status | PASS |
Results
| Field | Value |
|---|---|
| Status | PASSED |
| Completed at | 2026-07-25T12:46:37Z |
| Branch | feature/badge-palette-swatch-and-fallback |
| Commit | 1f7fad1cd |
| Worktree | eager_maxwell |