Polish server health checking feedback and bump Harbor versions
This commit is contained in:
@@ -42,6 +42,9 @@ test('server picker checks health once on load, keeps manual refresh and bounds
|
||||
assert.match(picker, /if \(initialCheckStarted\.current \|\| !servers\.length\) return/);
|
||||
assert.match(picker, /initialCheckStarted\.current = true;\s*checkVisible\(\)/);
|
||||
assert.match(picker, /onClick={checkVisible}/);
|
||||
assert.match(picker, /\{ \.\.\.current\[id\], checking: true \}/);
|
||||
assert.match(picker, /700 - \(performance\.now\(\) - startedAt\)/);
|
||||
assert.match(picker, /\{ \.\.\.current\[id\], checking: false \}/);
|
||||
assert.match(picker, /\.slice\(page \* SERVER_RESULT_WINDOW, \(page \+ 1\) \* SERVER_RESULT_WINDOW\)/);
|
||||
assert.match(picker, /\.slice\(0, 30\)/);
|
||||
assert.match(picker, /Math\.min\(index, 7\)/);
|
||||
@@ -52,8 +55,9 @@ test('server picker checks health once on load, keeps manual refresh and bounds
|
||||
});
|
||||
|
||||
test('manual health remains visible for Auto and simple rows', () => {
|
||||
assert.match(picker, /autoActive \? serverHealthText\(pings\[selectedServerId\]\)/);
|
||||
assert.match(picker, /className="client-server-check"/);
|
||||
assert.match(picker, /function ServerHealth/);
|
||||
assert.match(picker, /client-server-health-checking/);
|
||||
assert.match(picker, /function ServerCheckButton/);
|
||||
assert.match(picker, /server={servers\[0\]}[\s\S]*?ping={pings\[servers\[0\]\.id\]}/);
|
||||
assert.match(picker, /simpleServers\.map[\s\S]*?ping={pings\[server\.id\]}/);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user