Merge remote-tracking branch 'origin/main' into notify/actions
1 file changed,
+1
−1
internal/thintest/roster_browser_test.go+1 −1
diff --git a/internal/thintest/roster_browser_test.go b/internal/thintest/roster_browser_test.go| index 93cbe49e..6dd55124 100644 |
| --- a/internal/thintest/roster_browser_test.go |
| +++ b/internal/thintest/roster_browser_test.go |
| @@ -38,7 +38,7 @@ func TestBrowserRosterVisual(t *testing.T) { |
| p.check(`[...document.querySelectorAll('[equipo-roster-facts] small')].every(e=>getComputedStyle(e).whiteSpace==='normal' && e.scrollWidth<=e.clientWidth+1)`, "fact details truncate") |
| p.check(`(()=>{const c=document.querySelector('[equipo-roster-byline] b'),m=document.querySelector('[equipo-message="incoming"] [equipo-message-meta] strong');return !m||getComputedStyle(c).fontSize===getComputedStyle(m).fontSize})()`, "byline sizes differ") |
| p.check(`[...document.querySelectorAll('[equipo-card="task"], [equipo-card="merge"]')].every(c=>c.querySelector('[equipo-roster-project]')?.textContent.includes('Sample') && c.querySelector('[equipo-roster-project] [equipo-mono]'))`, "task and coordinator cards lack project context") |
| - p.check(`(()=>{const c=document.querySelector('[equipo-roster-card]'),b=c.previousElementSibling,r=c.querySelector('[equipo-roster-report]');return parseFloat(getComputedStyle(c).paddingTop)===0 && parseFloat(getComputedStyle(b).marginBottom)===8 && parseFloat(getComputedStyle(r).rowGap)===12 && parseFloat(getComputedStyle(c.querySelector('[equipo-roster-facts]')).paddingTop)===12})()`, "report spacing left the inset scale") |
| + p.check(`(()=>{const r=document.querySelector('[equipo-roster-report]'),c=r.closest('[equipo-roster-card]'),b=c.previousElementSibling;return parseFloat(getComputedStyle(c).paddingTop)===0 && parseFloat(getComputedStyle(b).marginBottom)===8 && parseFloat(getComputedStyle(r).rowGap)===12 && parseFloat(getComputedStyle(c.querySelector('[equipo-roster-facts]')).paddingTop)===12})()`, "report spacing left the inset scale") |
| if width == 390 { |
| p.check(`document.querySelector('[equipo-roster-links] [data-report-next]').getBoundingClientRect().height>=44`, "task button lost its phone target") |
| p.check(`parseFloat(getComputedStyle(document.querySelector('[equipo-roster-report-head] h3 a'),'::after').height)>=44`, "task title has a small phone hit area") |