fix(tests): restore green contract suite
Drop the legacy credits_added message label per the hard-cut rule, switch
three remaining Font Awesome 4 icons to FA5 solid, and align two widget
contracts with the badge rule grouping and renderer list from fc04bf65.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
b32b56f8bc
commit
48e54dc115
7 files changed
+10
-15
No files matched your search
@@ -85,7 +85,7 @@ test('mini badges stay on the correct meta side, disappear with meta and ignore
|
||||
|
||||
test('mini badge styles preserve reference padding and VIP aspect ratio across page bundles', () => {
|
||||
const widgetCss = read('assets/widgets/frontend.css');
|
||||
const rule = widgetCss.match(/\.widget-tab-post \.item-meta \.meta-pay\s*\{([^}]+)\}/)[1];
|
||||
const rule = widgetCss.match(/\.widget-tab-post \.item-meta \.meta-pay, \.widget-main-post \.item-meta \.meta-pay\s*\{([^}]+)\}/)[1];
|
||||
assert.match(rule, /padding:\s*0 4px/);
|
||||
assert.match(rule, /cursor:\s*auto/);
|
||||
for (const file of ['assets/css/frontend/post-card.css', 'assets/css/build/homepage.css']) {
|
||||
|
||||
Reference in new issue
Block a user