Skip to content

Commit d07fe08

Browse files
committed
Skins test: the update banner's line sits 1px higher on the 14px scale
The banner's line is text-sm, centred in its 28px row. At 14px on a 20px line (was 13.125px on 18.75px) its top lands at 10px instead of 11px in OpenDuet and OpenFuse. The banner and its row are where they were, so only the measured baseline changes.
1 parent cb31139 commit d07fe08

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

‎app/tests/skins-window-buttons.test.tsx‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -493,8 +493,11 @@ describe.skipIf(!asked)("the skins and the window's buttons", () => {
493493
"[data-openduet-page] header p": { x: 485, y: 25 },
494494
},
495495
"openduet-pane": { 'button[aria-label="Menu"]': { x: 16, y: 20 } },
496+
// The banner's line is text-sm, centred in its 28px row. On the whole-pixel type scale it
497+
// is 14px on a 20px line (was 13.125px on 18.75px), so its top is 1px higher. The row and
498+
// the banner have not moved.
496499
"openduet-update": {
497-
'[aria-label="OpenBot update"] p': { x: 16, y: 11 },
500+
'[aria-label="OpenBot update"] p': { x: 16, y: 10 },
498501
},
499502
opendots: {
500503
'nav[aria-label="Workspace navigation"] a': { x: 6, y: 16 },
@@ -514,7 +517,7 @@ describe.skipIf(!asked)("the skins and the window's buttons", () => {
514517
'button[aria-label="Open conversations and menu"]': { x: 20, y: 16 },
515518
},
516519
"openfuse-update": {
517-
'[aria-label="OpenBot update"] p': { x: 16, y: 11 },
520+
'[aria-label="OpenBot update"] p': { x: 16, y: 10 },
518521
},
519522
};
520523
const seen: Record<string, Awaited<ReturnType<typeof corner>>> = {};

0 commit comments

Comments
 (0)