-
Notifications
You must be signed in to change notification settings - Fork 0
fix(tests): alinhar 5 arquivos de teste com valores reais do código #181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
a69ea9d
5db7a53
d1a75be
d1a857a
d4d2a85
abf4177
669340b
89a8901
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -143,8 +143,10 @@ jobs: | |||||
| # os resultados; `html` para drill-down; `json`/`junit` para tooling. | ||||||
| # `--pass-with-no-tests` evita falhar se nenhum spec casar (ex: PR só | ||||||
| # mexe em smoke). | ||||||
| # Requer E2E_USER_EMAIL configurado — specs autenticados falham sem | ||||||
| # credenciais. Quando ausente, step é skipped e o job passa normalmente. | ||||||
| - name: Run E2E regression (cobertura completa — registra todas as falhas) | ||||||
| if: steps.e2e_smoke.outcome == 'success' && steps.e2e_header_sticky.outcome == 'success' | ||||||
| if: steps.e2e_smoke.outcome == 'success' && steps.e2e_header_sticky.outcome == 'success' && env.E2E_USER_EMAIL != '' | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P2: O gate da regression valida apenas Prompt for AI agents
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
In PR/fork contexts where Useful? React with 👍 / 👎. |
||||||
| run: | | ||||||
|
Comment on lines
+146
to
150
|
||||||
| npx playwright test \ | ||||||
| --grep-invert @smoke \ | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This replacement no longer runs the full Vitest suite with
STRICT_REF_WARNINGS=1:test:strict-refis still defined asSTRICT_REF_WARNINGS=1 vitest run, but the referencedref-warning-suiteonly invokes the fixed list of admin guard/skeleton files in this workflow. A React ref warning introduced by any other component/test now passes thequalityjob and the dedicated ref-warning job, so the global console-regression gate that was removed here is lost.Useful? React with 👍 / 👎.