This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user