Keep update button labels on one line
CI / verify (push) Waiting to run

This commit is contained in:
Sucukdeluxe
2026-09-22 06:22:30 +02:00
parent cffc86e310
commit 4b5a445ae0
3 changed files with 13 additions and 5 deletions
+3 -1
View File
@@ -5499,7 +5499,9 @@ test('header occupies its final geometry before asynchronous initialization', ()
assert.doesNotMatch(updateButton, /\stitle=/u);
assert.ok(updateSlotIndex >= 0 && updateSlotIndex < speedWidgetIndex);
assert.match(css, /\.header-update-slot\s*\{[^}]*width:\s*0;[^}]*flex:\s*0 0 0;[^}]*overflow:\s*hidden;/su);
assert.match(css, /\.header-update-slot\.is-visible\s*\{[^}]*width:\s*146px;[^}]*flex-basis:\s*146px;/su);
assert.match(css, /\.header-update-slot\.is-visible\s*\{[^}]*width:\s*166px;[^}]*flex-basis:\s*166px;/su);
assert.match(css, /\.header-update-button\s*\{[^}]*width:\s*166px;[^}]*flex:\s*0 0 166px;/su);
assert.match(css, /\.header-update-label\s*\{[^}]*white-space:\s*nowrap;[^}]*flex-shrink:\s*0;/su);
assert.match(css, /\.header-update-slot\.is-visible\s+\.header-update-button\s*\{[^}]*opacity:\s*1;[^}]*transform:\s*translateX\(0\);/su);
assert.match(css, /\.version-badge\s*\{[^}]*min-width:\s*48px;/su);
assert.notEqual(firstFrameInitialization, -1);