|
|
@@ -185,6 +185,7 @@ test('freight list cards collapse sample blocks by default and allow expand', ()
|
|
|
|
|
|
assert.match(presenter, /sampleBlocks:\s*rows\.map\(freightSampleBlock\)/)
|
|
|
assert.match(card, /card\.sampleBlocks/)
|
|
|
+ assert.match(card, /block\.statusTone \|\| resolveStatusTone\(block\.status\)/)
|
|
|
assert.match(card, /samplesOpen/)
|
|
|
assert.match(card, /关联样本(/)
|
|
|
assert.match(card, /点击展开/)
|
|
|
@@ -466,6 +467,7 @@ test('nested market detail cards use explicit labels instead of API property nam
|
|
|
const detailSection = source('./components/MarketDetailSection.vue')
|
|
|
|
|
|
assert.match(detailSection, /cards:/)
|
|
|
+ assert.match(detailSection, /field\.tagType \|\| 'primary'/)
|
|
|
assert.doesNotMatch(detailSection, /function flattenFields/)
|
|
|
})
|
|
|
|