Prevent duplicate server display during profile transitions
This commit is contained in:
@@ -131,7 +131,9 @@ test('server picker starts simple and reveals advanced controls on demand', () =
|
||||
assert.match(picker, /inert={!advanced \? true : undefined}/);
|
||||
assert.match(picker, /const SIMPLE_SERVER_LIMIT = 5/);
|
||||
assert.match(picker, /\.slice\(0, SIMPLE_SERVER_LIMIT\)/);
|
||||
assert.match(picker, /\{selected && <ServerRow/);
|
||||
assert.match(picker, /selected && selected\.id !== anchorServerId && <ServerRow/);
|
||||
assert.match(picker, /id !== selectedServerId && id !== anchorServerId/);
|
||||
assert.match(overview, /anchorServerId=\{pickerState\.anchorServerId\}/);
|
||||
assert.match(styles, /\.client-profile-body \.client-server-row \{[\s\S]*?grid-template-columns: minmax\(0, 1fr\) 64px;/);
|
||||
assert.match(styles, /\.client-profile-body \.client-server-row\.is-selected \{[\s\S]*?background: color-mix\(in oklch, var\(--client-accent\) 2%, transparent\);/);
|
||||
assert.match(styles, /\.client-profile-body \.client-server-check-label \{[\s\S]*?display: inline;/);
|
||||
|
||||
Reference in New Issue
Block a user