Repository navigation
test(frontend): alvo de 44 px tolera arredondamento de subpixel - #44
Merged
Merged
Conversation
…undingBox Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
O que muda
O job
frontend-testsfalhou namaindepois do merge do #43 (run 37212091664) no testemobile.spec.mjs› cenário 6: o botão "Visão geral" mediu 43.99998474121094 px contra o mínimo de 44 px. O CSS pedemin-height: 44px; a fração vem do layout em subpixel do navegador, não de uma regressão (o mesmo teste passou no CI do PR #43, e nada do frontend mudou).ALTURA_MIN_TOQUE = 44 - 0.01emtest/frontend_smoke/helpers.mjs, com comentário (WCAG 2.5.5, 44 × 44 px, tolerância de 0,01 px de arredondamento).mobile.spec.mjs×3,navegacao.spec.mjs,botoes.spec.mjs) passam a usá-la.Como validar
node --checknos 4 arquivos alterados.frontend-tests) é a validação; localmente o Playwright estoura o tempo limite de 90 s nesta máquina (lentidão já conhecida), sem falha de asserção.Checklist
scripts/precommit-checks) — não executado.envousecrets.hna mudançadocs/CHANGELOG.md— não se aplica (só teste)tipo: descrição🤖 Generated with Claude Code