mirror of
https://github.com/hansjone/dsh-im-ops.git
synced 2026-10-09 04:13:17 +08:00
Refine compact IM channel tabs
This commit is contained in:
parent
b8bd681a79
commit
be5d045f67
4 changed files with 40 additions and 43 deletions
|
|
@ -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<|>微信设置</);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue