mirror of
https://github.com/hansjone/dsh-im-ops.git
synced 2026-10-10 05:13:17 +08:00
fix(ui): unify channel card feedback layout
This commit is contained in:
parent
9a5a7941af
commit
eadfc7372f
12 changed files with 315 additions and 209 deletions
|
|
@ -235,7 +235,11 @@ test('connection-check failure stays on the matching card with locale-safe wordi
|
|||
assert.match(nodeText(targetCard), /现有连接错误/);
|
||||
assert.equal(
|
||||
targetCard.findAll((node) => node.props.className?.includes('dim-cardSummary')).length,
|
||||
2,
|
||||
1,
|
||||
);
|
||||
assert.equal(
|
||||
targetCard.findAll((node) => node.props.className?.includes('dim-cardFeedback')).length,
|
||||
1,
|
||||
);
|
||||
assert.doesNotMatch(nodeText(targetCard), /provider-specific failure/);
|
||||
const announcement = [...clock.frames.entries()].at(-1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue