test(automacoes): estrutura suite de integracoes com presets dinamicos - #30
Merged
Conversation
diasgarcia
marked this pull request as ready for review
May 13, 2026 04:41
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.
Resumo
.github/workflows/automations.yml— executa Playwright com PostgreSQL, API e web no pipelineautomations/*— cria arquitetura completa de automacoes comdata,fixtures,presets,services,pagesetestsautomations/tests/api/**— cobre contratos de autenticacao, lojas, categorias, produtos, complementos, clientes, entrega, pagamentos, pedidos, dashboard, whatsapp e isolamento multilojaautomations/tests/frontend/**— cobre autenticacao, sessao, dashboard, pedidos, clientes, configuracoes, cardapio administrativo, cardapio publico e landingweb/src/**— adicionadata-testidnecessarios para contratos de interfaceautomations/AGENTS.md— atualiza padroes, roadmap, presets reutilizaveis e falhas atualmente mapeadasBugs identificados (issues abertas)
401em vez de422401em vez de422401sem JWT nao retornam corpo padronizado de erroTest plan
cd automations && npm.cmd test -- --list— confirmar60testes em21arquivoscd automations && npm.cmd run test:api— verificar29testes verdes e as falhas conhecidas ligadas a#22,#23,#24e#25cd automations && npm.cmd run test:frontend— verificar1teste verde e as falhas conhecidas ligadas a#26,#27,#28e#29cd automations && npm.cmd test— validar o retrato consolidado atual da suite:30testes verdes e30falhas explicadas pelas issues acima.spec.js, usam fixtures/presets reutilizaveis e tags no formato{ tag: ['@...'] }