Refine compact IM channel tabs

This commit is contained in:
xmanrui 2026-08-15 04:47:38 +08:00 • committed by xiemanR
parent b8bd681a79
commit be5d045f67
4 changed files with 40 additions and 43 deletions

View file

@ -21,5 +21,6 @@ test('IM settings renders two logo channel tabs without enable switches', () =>
assert.equal((markup.match(/role="tab"/g) ?? []).length, 2);
assert.equal((markup.match(/aria-selected="true"/g) ?? []).length, 1);
assert.doesNotMatch(markup, /role="switch"|type="checkbox"/);
assert.doesNotMatch(markup, /dim-chevron|扫码绑定<\/small>|扫码接入<\/small>/);
assert.doesNotMatch(markup, />INSTANT MESSAGING<|>Channel<|>微信设置</);
});