Add simple server picker mode with version bump
All checks were successful
Build and Deploy Gateway / build-and-push (push) Successful in 15s
Build and Deploy Gateway / deploy (push) Successful in 7s

This commit is contained in:
2026-07-12 14:13:42 +03:00
parent 57330f1c78
commit d9745e9aed
4 changed files with 74 additions and 2 deletions

View File

@@ -47,3 +47,11 @@ test('server picker keeps health manual and the rendered result window bounded',
assert.match(picker, /harbor-server-recent/);
assert.match(picker, /aria-expanded={!isCollapsed}/);
});
test('server picker starts simple and reveals advanced controls on demand', () => {
assert.match(picker, /const \[advanced, setAdvanced\] = useState\(false\)/);
assert.match(picker, /if \(!advanced\)/);
assert.match(picker, />Поиск и фильтры<\/button>/);
assert.match(picker, />Простой список<\/button>/);
assert.match(picker, /\.slice\(0, SERVER_RESULT_WINDOW\)/);
});