Bump Harbor versions and tighten server picker layout
This commit is contained in:
@@ -57,10 +57,12 @@ test('manual ping uses plain language and keeps results beside server names', ()
|
||||
assert.match(picker, /function ServerHealth/);
|
||||
assert.match(picker, /client-server-health-checking/);
|
||||
assert.match(picker, /function ServerCheckButton/);
|
||||
assert.match(picker, /<span>Проверить пинг<\/span>/);
|
||||
assert.match(picker, /client-server-check client-tooltip-anchor/);
|
||||
assert.match(picker, /<span className="client-tooltip" role="tooltip">/);
|
||||
assert.doesNotMatch(picker, /TCP|Не проверен/);
|
||||
assert.match(styles, /\.client-server \{[\s\S]*?align-items: baseline;[\s\S]*?justify-content: center;/);
|
||||
assert.match(styles, /\.client-server-grid \{[\s\S]*?width: min\(100%, 220px\);/);
|
||||
assert.match(styles, /\.client-server \{[\s\S]*?grid-template-columns: minmax\(0, 1fr\) auto minmax\(0, 1fr\);/);
|
||||
assert.match(styles, /\.client-server-health \{[\s\S]*?grid-column: 3;[\s\S]*?justify-self: end;/);
|
||||
assert.match(styles, /\.client-server-grid \{[\s\S]*?width: min\(100%, 180px\);/);
|
||||
assert.match(picker, /server={servers\[0\]}[\s\S]*?ping={pings\[servers\[0\]\.id\]}/);
|
||||
assert.match(picker, /simpleServers\.map[\s\S]*?ping={pings\[server\.id\]}/);
|
||||
});
|
||||
@@ -70,6 +72,8 @@ test('server picker starts simple and reveals advanced controls on demand', () =
|
||||
assert.match(picker, /aria-expanded={advanced}/);
|
||||
assert.match(picker, /setAdvanced\(\(current\) => !current\)/);
|
||||
assert.match(picker, /<span>Поиск и фильтры<\/span>/);
|
||||
assert.match(picker, /client-server-toolbar-title">Список серверов/);
|
||||
assert.match(picker, /client-server-toolbar-actions/);
|
||||
assert.match(picker, /client-server-mode-panel is-simple/);
|
||||
assert.match(picker, /client-server-mode-panel is-advanced/);
|
||||
assert.match(picker, /inert={advanced \? true : undefined}/);
|
||||
|
||||
Reference in New Issue
Block a user