Skip to content

Commit 512ad74

Browse files
committed
test: record the measured directions of the highlightFields pins
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9qibwy7XB37e8e1P6jRJ3
1 parent 5f2eee0 commit 512ad74

3 files changed

Lines changed: 8 additions & 5 deletions

File tree

‎ui/packages/plugin-detail/src/__tests__/RelatedList.selectFls-10186.test.tsx‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,8 +349,9 @@ describe('RelatedList row fetch — the derived-columns boundary (objectui#10186
349349
* column shows them, so the rows this list reads must carry them. Through the
350350
* name field's gates: declared, readable, not redacted.
351351
*
352-
* a declared, readable highlighted field no column shows is requested RED on the base tree
353-
* a highlighted field FLS denies is not requested GREEN
352+
* Directions on the base tree, measured by reverting the fix:
353+
* a declared, readable highlighted field no column shows is requested RED
354+
* a highlighted field FLS denies is not requested RED (the readable one is missing too)
354355
* control: no highlightFields keeps the projection byte-identical GREEN
355356
*/
356357
describe('RelatedList row fetch — the child object\'s highlightFields ride along (objectstack#37891)', () => {

‎ui/packages/plugin-grid/src/__tests__/phoneCardAmount-34615.test.tsx‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,13 +273,14 @@ describe('the phone card amount slot takes a formula or summary that draws as mo
273273
* total_price`: on the base tree its card read `1 · 2` with the unit price as
274274
* the amount, whatever `highlightFields` said.
275275
*
276-
* ── Directions on the base tree (predicted before the first run) ─────────
276+
* ── Directions on the base tree (measured by reverting the fix) ──────────
277277
* amount is the highlighted total, not the unit price RED
278278
* subtitle is the labelled highlighted parts, in order RED
279+
* a text part is drawn bare RED
279280
* a highlighted field no column shows is drawn and fetched RED
280281
* an empty highlighted part is dropped RED
282+
* control: a masked highlighted field is neither amount nor part RED (its amount half: the base tree shows the unit price)
281283
* control: no highlightFields keeps `1 · 2`, unit price, no labels GREEN
282-
* control: a masked highlighted field is neither amount nor part GREEN
283284
*/
284285
describe('the phone card follows the object\'s highlightFields (objectstack#37891)', () => {
285286
const LINE_OBJECT = 'crm_sales_order_line_37891';

‎ui/packages/plugin-list/src/__tests__/ListView.harness.test.tsx‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3121,7 +3121,8 @@ describe('ListView.nameFieldSelect-13116', () => {
31213121
* that owns its fetch projects through `ObjectGrid`'s `getSelectFields`,
31223122
* pinned in plugin-grid's `phoneCardAmount-34615.test.tsx`.
31233123
*
3124-
* a highlighted field no column shows is in `$select`, not drawn RED on the base tree
3124+
* Directions on the base tree, measured by reverting the fix:
3125+
* a highlighted field no column shows is in `$select`, not drawn RED
31253126
* control: an object with no highlightFields sends the same select GREEN
31263127
*/
31273128
describe('ListView.highlightFieldsSelect-37891', () => {

0 commit comments

Comments
 (0)