Test Scenario: Verify business_centre

Table of Contents

This page documents a test scenario verifying Regenerate business_centre from its codegen model and reconcile diffs in Commission: business_centre. 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.

1. Scenario Info

Field Value
Verifies task Regenerate business_centre from its codegen model and reconcile diffs
Parent story Commission: business_centre
Target dialog BusinessCentreDetailDialog / BusinessCentreHistoryDialog — Menu: Reference Data > Business Centres
Clients blue, red
State PENDING

2. Steps

Each step is its own heading — the title should be short (it's shown as a single list entry in the QA Validation Runner); put any longer instructions in the body below the title. The panel writes each step's PASS/FAIL/PENDING outcome and notes back as a *** Result child heading directly under it.

Retest note: the previous run (2026-07-13T18:25:31Z, commit 646f4a865) failed on Create (missing coding-scheme combo + wrong seeded scheme code) and Read (list window had no pagination). Both are fixed now — coding_scheme_code is a fetch-backed combo populated from the real coding schemes table, the generator/seed data use the correct FPML_BUSINESS_CENTER code, the list window paginates, and the country combo/list now render a flag icon.

2.1. blue

2.1.1. Connect and log in

Log in as tenant_admin@barclays_plc / Secure-Password-123 (from barclays_system_provision.ores). Select party "BARCLAYS PLC" if prompted.

  1. Result
    Field Value
    Status PASS

2.1.2. Create

Menu: Reference Data > Business Centres. Click Add. Fill in a new code (e.g. "ZZTS"), pick a coding scheme from the combo (e.g. FPML_BUSINESS_CENTER), description, and a country (e.g. "US") via the flagged country combo. Save. Verify the new record appears in the list with its flag icon, and the detail dialog reopens showing the saved values.

  1. Result
    Field Value
    Status PASS

2.1.3. Read

Reopen the detail dialog for the record just created (double-click it in the list). Verify every field — code, coding scheme, description, country, city — round-trips correctly, including the flag icon next to the country combo. Also scroll/page through the list and confirm the new record is reachable (list now paginates past its first batch).

  1. Result
    Field Value
    Status PASS

2.1.4. Update

Edit the description (and/or country) and save with a change reason. Verify the list refreshes with the new value and the flag icon (if country changed) updates accordingly.

  1. Result
    Field Value
    Status PASS

2.1.5. Delete

Delete the record via the list window. Verify it disappears from the list.

  1. Result
    Field Value
    Status PASS

2.1.6. History

Open the History dialog for the record. Verify Create, Update, and Delete entries are all present with the correct change reasons and field-level diffs.

  1. Result
    Field Value
    Status PASS

2.2. red

2.2.1. Connect and log in

Log in as tenant_admin@barclays_plc / Secure-Password-123 (same credentials as the blue client). Select party "BARCLAYS PLC". Open Reference Data > Business Centres so the list is visible and ready to observe live updates.

  1. Result
    Field Value
    Status PASS

2.2.2. Eventing

With the red client's Business Centres list open, go back to the blue client and create a new business centre (or edit an existing one). Verify the change lands as a NATS notification and the red client's list refreshes automatically — new/changed row visible — without a manual reload.

  1. Result
    Field Value
    Status PASS

3. Results

Field Value
Status PASSED
Completed at 2026-07-13T19:46:02Z
Branch feature/regenerate-business-centre-reconcile-diffs
Commit 646f4a865
Worktree jolly_knuth

4. Notes

Emacs 29.3 (Org mode 9.6.15)