Rollup merge of #139488 - GuillaumeGomez:add-missing-gui-test, r=camelid

Add missing regression GUI test

Add missing GUI test for #139282 (and also fixes the invalid CSS).

cc `@lolbinarycat`
r? `@notriddle`
This commit is contained in:
Matthias Krüger 2025-04-09 20:23:10 +02:00 committed by GitHub
commit ac41b940f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 15 additions and 1 deletions

View File

@ -1447,7 +1447,7 @@ so that we can apply CSS-filters to change the arrow color in themes */
cursor: pointer;
}
.setting-check input {
flex-shrink: 0,
flex-shrink: 0;
}
.setting-radio input:checked {

View File

@ -314,6 +314,13 @@ compare-elements-position: (".sub form", "#settings", ["x"])
// Check that setting-line has the same margin in this mode as in the popover.
assert-css: (".setting-line", {"margin": |setting_line_margin|})
// We will check that the checkboxes size doesn't change either.
assert-size: (
"#settings label > input[type='checkbox']",
{"width": 19, "height": 19},
ALL,
)
// We now check the display with JS disabled.
assert-false: "noscript section"
javascript: false
@ -327,3 +334,10 @@ reload:
set-window-size: (300, 1000)
wait-for: "#settings"
assert-css: (".setting-radio", {"cursor": "pointer"})
// We ensure that the checkboxes size didn't change.
assert-size: (
"#settings label > input[type='checkbox']",
{"width": 19, "height": 19},
ALL,
)