feat(semi-auto): 虎牙客户页登录→资料→绑定流程与返回上一步重置
This commit is contained in:
@@ -51,8 +51,12 @@ test('微博订单卡只展示订单号/商品/平台/状态,不含游戏和
|
||||
assert.ok(!weiboBranch.includes('游戏名称'))
|
||||
})
|
||||
|
||||
test('微博顶部使用 inside-kv 背景,虎牙保持纯色', () => {
|
||||
assert.ok(styles.includes('.customer-auth-page.is-weibo .customer-auth-hero'))
|
||||
assert.ok(styles.includes("url('/images/customer/inside-kv.jpg')"))
|
||||
test('客户登录/绑定页顶部统一显示 inside-kv 背景,不再按平台区分', () => {
|
||||
assert.match(
|
||||
styles,
|
||||
/\.customer-auth-hero \{[^}]*url\('\/images\/customer\/inside-kv\.jpg'\)[^}]*\}/s,
|
||||
)
|
||||
assert.ok(!styles.includes('.customer-auth-page.is-weibo .customer-auth-hero'))
|
||||
assert.ok(!styles.includes('.customer-auth-page.is-huya .customer-auth-hero'))
|
||||
assert.ok(styles.includes('.customer-auth-page.is-weibo .customer-auth-brand'))
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user