Some visual adjustments to the badges
This commit is contained in:
@@ -56,7 +56,7 @@ test("consistent inline vectors replace raster icons without parentheses or lost
|
||||
assert.equal(count.title, "3 products");
|
||||
assert.equal(typeof count.listeners.click, "function");
|
||||
const ramp = app.productsDetails.createProductsRampBadge(products);
|
||||
checkIcon(ramp, "ramp", "1,2,3");
|
||||
checkIcon(ramp, "ramp", "1 | 2 | 3");
|
||||
assert.equal(ramp.title, "Ramp Months: 1, 2, 3");
|
||||
const missingRamp = app.productsDetails.createProductsRampBadge({ items: [{ RampMonths_c: null }] });
|
||||
checkIcon(missingRamp, "ramp", "N/D");
|
||||
|
||||
Reference in New Issue
Block a user