Test Scenario: Verify badge mapping browser

Table of Contents

This page documents a test scenario verifying Add a badge_mapping browser UI in Improve badge colour scheme support. 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 Add a badge_mapping browser UI
Parent story Improve badge colour scheme support
Target dialog BadgeMappingBrowserWindow
Clients  
State PENDING

Prerequisites

  • Services running: compass services start.
  • A Barclays-provisioned database (already provisioned in this environment; if not, see compass shell -f projects/ores.shell/scripts/library/provisioning/barclays_system_provision.ores).
  • A running Qt client, not yet logged in.

Steps

Log in and open Badge Mappings

Log in as normal (Barclays Plc tenant). Go to System > Configuration > Badge Mappings. Confirm the window opens without error and a code domain is pre-selected in the picker with a populated table below it.

Result

Field Value
Status FAIL
Notes combo box is not our "bounded combo" with a fixed size, it spans the entire screen. look for examples. screen looks very different from all existing codegen screens. why can't we just have a list of badge mappings, double click on it and then see the mappings. this could be a hand crafted widget that is inserted via a paste block, we must do this already somewhere - parties_

Confirm a known domain's mappings

Select book_status from the domain picker. Confirm three rows appear (Active, Closed, Frozen), each showing the badge's label and rendered with the badge's actual background/text colour (not plain text) — colours should match what the Book list's Status column already shows for these same values.

Result

Field Value
Status FAIL
Notes the colours do appear but it would be much better to render it as a badge; scenario_verify-badge-mapping-browser_step2_20260715_235145.png

Confirm the boolean-column convention

Select is_sweepable from the domain picker. Confirm two rows appear (true, false), each rendered as a badge (reusing the shared active/inactive colours), matching what Book's Sweepable column shows.

Result

Field Value
Status PASS

Confirm domain picker completeness

Open the domain picker's dropdown. Confirm it lists multiple domains (not just the two above) — every code_domain_code with at least one seeded mapping should appear, sorted alphabetically.

Result

Field Value
Status PASS

Re-open behaviour

Close the window, then reopen it from the menu. Confirm it reopens cleanly (no crash, no stale/empty state) and shows the same data as before.

Result

Field Value
Status PASS

Results

Field Value
Status FAILED
Completed at 2026-07-15T22:52:28Z
Branch feature/badge-mapping-browser-ui
Commit 4d42283e4
Worktree bright_faraday

Notes

Emacs 29.3 (Org mode 9.6.15)