Improve server picker health state handling and bump Harbor versions
All checks were successful
Build and Deploy Gateway / build-and-push (push) Successful in 14s
Build and Deploy Gateway / deploy (push) Successful in 7s

This commit is contained in:
2026-07-12 15:31:41 +03:00
parent 0480e617cd
commit 9a539409f0
3 changed files with 21 additions and 8 deletions

View File

@@ -48,6 +48,12 @@ test('server picker keeps health manual and the rendered result window bounded',
assert.match(picker, /aria-expanded={!isCollapsed}/);
});
test('manual health remains visible for Auto and simple rows', () => {
assert.match(picker, /autoActive \? serverHealthText\(pings\[selectedServerId\]\)/);
assert.match(picker, /disabled={checking \|\| \(!selectedServerId && !visible\.length\)}/);
assert.match(picker, /simpleServers\.map[\s\S]*?ping={pings\[server\.id\]}/);
});
test('server picker starts simple and reveals advanced controls on demand', () => {
assert.match(picker, /const \[advanced, setAdvanced\] = useState\(false\)/);
assert.match(picker, /aria-expanded={advanced}/);