From 0a6a6d351dce0a087d53a720a114df22f27e5b4a Mon Sep 17 00:00:00 2001 From: forgejo-backport-action Date: Wed, 26 Mar 2025 13:47:17 +0000 Subject: [PATCH] [v11.0/forgejo] fix(ui): Do not check for `vertical-align` (#7345) **Backport:** https://codeberg.org/forgejo/forgejo/pulls/7344 - This makes the `repo-settings` e2e testing happy. - There's no point into checking `vertical-align`; it has no effect when `position: absolute` is set, which is is currently set unconditionally for checkboxes and radios on forms. Co-authored-by: Gusted Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7345 Co-authored-by: forgejo-backport-action Co-committed-by: forgejo-backport-action --- tests/e2e/shared/forms.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/e2e/shared/forms.ts b/tests/e2e/shared/forms.ts index fc608489b0..adb5b6e3cb 100644 --- a/tests/e2e/shared/forms.ts +++ b/tests/e2e/shared/forms.ts @@ -18,7 +18,6 @@ export async function validate_form({page}: {page: Page}, scope: 'form' | 'field for (const b of await boxes.all()) { await expect(b).toHaveCSS('margin-left', '0px'); await expect(b).toHaveCSS('margin-top', '0px'); - await expect(b).toHaveCSS('vertical-align', 'baseline'); } // assert no (trailing) colon is used in labels