teqo/tests/unit
Cursor Agent d5697bcfcb
B110 — wizard return path via allowlisted from query
Propagate return path from quick actions through the B98 wizard chain so
dismiss, skip, and chain end navigate back to the originating page instead
of always redirecting to Início.

Co-authored-by: Francisco Solla <fsolla@users.noreply.github.com>
2026-08-01 20:39:24 +00:00
..
accessShared.unit.spec.ts Engineering Pass 3: consolidate patterns and lock them with guards. 2026-07-29 06:11:29 -03:00
activityRelationOptions.unit.spec.ts style: prettier (C11 touched files) 2026-08-01 06:39:34 +00:00
activityUi.unit.spec.ts C13: renomeia "Plano de Acao" para "Atividade" em toda a vertical /campanha 2026-07-25 20:50:38 -03:00
advisorSchema.unit.spec.ts B19: Gerenciar assessores (/campanha/assessores) 2026-07-25 02:40:47 -03:00
agentPoolCursor.unit.spec.ts feat(agent-pool): orquestrador de pool de workers Cursor Cloud (fases A–D) (#65) 2026-07-30 20:08:34 -03:00
agentPoolEligibility.unit.spec.ts feat(agent-pool): orquestrador de pool de workers Cursor Cloud (fases A–D) (#65) 2026-07-30 20:08:34 -03:00
agentPoolModels.unit.spec.ts fix(agent-pool): pin fast=false on Cloud Agent spawns 2026-08-01 06:56:57 +00:00
agentPoolPrompt.unit.spec.ts ci: main-only cutover with gated Vercel deploy 2026-07-31 20:57:18 -03:00
agentPoolState.unit.spec.ts feat(agent-pool): orquestrador de pool de workers Cursor Cloud (fases A–D) (#65) 2026-07-30 20:08:34 -03:00
bahiaElectionAggregates.unit.spec.ts B13: escala relativa no mapa dos Municipios (quantis/LQ/posicao) + artefato TSE v3 2026-07-26 04:22:56 -03:00
bahiaMapStyle.unit.spec.ts B8+: escala das malhas em unidades reais, contrato do map key e degradacao 2026-07-27 01:59:36 -03:00
campaignActionContext.unit.spec.ts B19: Gerenciar assessores (/campanha/assessores) 2026-07-25 02:40:47 -03:00
campaignActionRoutes.unit.spec.ts B82 — Ações rápidas em lideranças (lista + detalhe) 2026-08-01 06:24:54 +00:00
campaignAdvisorQuickActions.unit.spec.ts fix: rebase on main (B85 demands + B87 assessores) 2026-08-01 05:49:25 +00:00
campaignAuthCookie.unit.spec.ts Add remembered campaign sessions 2026-07-27 08:57:26 -03:00
campaignAuthMemoization.unit.spec.ts RS+ Fase 1+3: auth read leve, password fields e login state 2026-08-01 06:07:28 +00:00
campaignCellAutosave.unit.spec.ts B32+: share the campaign JSON route wrapper, fetch helper and cell auto-save. 2026-07-28 08:07:29 -03:00
campaignCellEditOverlay.unit.spec.ts test: fix pre-existing unit drift — wrap Tooltip-needing renders in TooltipProvider (944/944 green) 2026-07-30 05:35:25 -03:00
campaignColumnPicker.unit.spec.ts Remove Tipo column and list kind filter from municipality list. 2026-07-29 07:42:47 -03:00
campaignColumnVisibility.unit.spec.ts B17: column picker on the seven CampaignTable list surfaces. 2026-07-28 08:25:16 -03:00
campaignComponents.unit.spec.ts B79 — chassis do bottom drawer de ações rápidas + busca global (mobile) 2026-07-31 02:34:08 +00:00
campaignCompositionCleanup.unit.spec.ts RS+ Fase 1+3: auth read leve, password fields e login state 2026-08-01 06:07:28 +00:00
campaignConsent.unit.spec.ts Engineering Pass 3: consolidate patterns and lock them with guards. 2026-07-29 06:11:29 -03:00
campaignEntityListParsers.unit.spec.ts Deliver B29: header sort and filters on the leaderships list. 2026-07-28 01:43:44 -03:00
campaignFormActionMessage.unit.spec.tsx Engineering Pass 3: consolidate patterns and lock them with guards. 2026-07-29 06:11:29 -03:00
campaignFormActions.unit.spec.ts Pass 2 W4d: runCampaignFormAction (stay-on-page) fecha o C8 F4 2026-07-25 15:33:19 -03:00
campaignGeolocation.unit.spec.ts B14: municipio mais proximo (atalho geo no Inicio staff) 2026-07-26 17:33:33 -03:00
campaignHeaderFilterPopover.unit.spec.ts Polish selected-first filter shells after simplify. 2026-07-28 18:37:05 -03:00
campaignHomeActionButton.unit.spec.tsx B101 — strip de ações: bleed sem gutter + hit area via padding 2026-08-01 17:55:54 +00:00
campaignHomeActions.unit.spec.ts B80 — Ações rápidas em Municípios (lista + detalhe A1–A5) 2026-08-01 04:21:15 +00:00
campaignHomeLayout.unit.spec.tsx B99 — strip de ações edge-to-edge no mobile + gap menor 2026-08-01 10:54:39 +00:00
campaignHomeSearch.unit.spec.tsx Merge pull request #146 from fsolla/cursor/pool-i141-1ce99b5a-0b74 2026-08-01 15:59:53 -03:00
campaignHomeSearchContract.unit.spec.ts B68: curated municipality suggestions on empty home search focus. 2026-07-29 22:06:02 -03:00
campaignHomeSearchQuery.unit.spec.ts B68: curated municipality suggestions on empty home search focus. 2026-07-29 22:06:02 -03:00
campaignHomeSummary.unit.spec.tsx B57 — delta 7 dias do total estimado no Início 2026-08-01 06:33:39 +00:00
campaignHomeSummaryDelta.unit.spec.ts B57 — delta 7 dias do total estimado no Início 2026-08-01 06:33:39 +00:00
campaignIntelligenceConcepts.unit.spec.ts feat(campanha): remove mobile bottom nav (B73) 2026-07-30 22:13:07 +00:00
campaignInviteArchitecture.unit.spec.ts Tooling: prettier como autoridade de formatacao (organize-imports deterministico, scripts format/format:check, normalizacao mecanica de 312 arquivos; artefatos gerados e migrations excluidos via .prettierignore) 2026-07-25 17:22:20 -03:00
campaignInviteInteractions.unit.spec.ts B30: convite WhatsApp na lista de lideranças 2026-07-26 20:47:11 -03:00
campaignInviteOrigin.unit.spec.ts Tooling: prettier como autoridade de formatacao (organize-imports deterministico, scripts format/format:check, normalizacao mecanica de 312 arquivos; artefatos gerados e migrations excluidos via .prettierignore) 2026-07-25 17:22:20 -03:00
campaignJsonMutationRoute.unit.spec.ts B32+: share the campaign JSON route wrapper, fetch helper and cell auto-save. 2026-07-28 08:07:29 -03:00
campaignLastActedMunicipality.unit.spec.ts B93 — wizard empty state continuity (visitados + última ação) 2026-08-01 07:21:56 +00:00
campaignListFilterNavigation.unit.spec.ts Fill-in: move estimate scenario into municipality list filters. 2026-07-29 15:27:46 -03:00
campaignListUrl.unit.spec.ts C13: renomeia "Plano de Acao" para "Atividade" em toda a vertical /campanha 2026-07-25 20:50:38 -03:00
campaignLoginAction.unit.spec.ts RS+ Fase 1+3: auth read leve, password fields e login state 2026-08-01 06:07:28 +00:00
campaignLongPress.unit.spec.tsx B58: polish Início action strip and centralize coarse press state. 2026-07-29 16:10:24 -03:00
campaignMigrationSafety.unit.spec.ts Tooling: prettier como autoridade de formatacao (organize-imports deterministico, scripts format/format:check, normalizacao mecanica de 312 arquivos; artefatos gerados e migrations excluidos via .prettierignore) 2026-07-25 17:22:20 -03:00
campaignMobileTopBar.unit.spec.tsx B106 — format 2026-08-01 18:38:50 +00:00
campaignMunicipalityQuickActions.unit.spec.ts style: prettier registry 2026-08-01 04:22:25 +00:00
campaignPasswordSchemas.unit.spec.ts Add campaign password reset, profile photo, and RS+ follow-up plan. 2026-07-19 05:26:56 -03:00
campaignPwa.unit.spec.ts Add installable PWA foundation for the /campanha field app. 2026-07-18 17:28:34 -03:00
campaignQuickAction.unit.spec.ts B110 — wizard return path via allowlisted from query 2026-08-01 20:39:24 +00:00
campaignQuickActionLeadership.unit.spec.ts B110 — wizard return path via allowlisted from query 2026-08-01 20:39:24 +00:00
campaignQuickActionsDrawer.unit.spec.tsx B105: bottom drawer handle top, scroll-up dock, discreet search peek 2026-08-01 18:40:51 +00:00
campaignReferenceQuickActions.unit.spec.ts style: Prettier (B90) 2026-08-01 06:28:15 +00:00
campaignSearchInput.unit.spec.ts Pass 2 W2: components/campaign em subpastas por dominio 2026-07-25 14:52:17 -03:00
campaignTable.unit.spec.ts test: fix pre-existing unit drift — wrap Tooltip-needing renders in TooltipProvider (944/944 green) 2026-07-30 05:35:25 -03:00
campaignTimeCivilDate.unit.spec.ts B57 — delta 7 dias do total estimado no Início 2026-08-01 06:33:39 +00:00
campaignUserProfile.unit.spec.ts Add the tooling gate: knip, CI, zero-warning lint, as-never ban 2026-07-23 23:06:12 -03:00
campaignWebAuthnChallenge.unit.spec.ts Engineering Pass 3: consolidate patterns and lock them with guards. 2026-07-29 06:11:29 -03:00
campaignWebAuthnConfig.unit.spec.ts fix(e2e): WebAuthn on prod build, saved-filters navigation, Vercel scripts 2026-07-30 17:37:20 -03:00
campaignWizardCopy.unit.spec.ts B104 — Wizard: label genérica "Pular" nas ações encadeadas 2026-08-01 17:57:12 +00:00
campaignWizardShell.unit.spec.tsx Format campaignWizardShell unit spec 2026-08-01 19:03:35 +00:00
campoParties.unit.spec.ts E8: Conta da cadeira (metas derivadas, potencial por município, cobertura) 2026-07-24 22:54:27 -03:00
choroplethPercentScale.unit.spec.ts Tooling: prettier como autoridade de formatacao (organize-imports deterministico, scripts format/format:check, normalizacao mecanica de 312 arquivos; artefatos gerados e migrations excluidos via .prettierignore) 2026-07-25 17:22:20 -03:00
ciSkipInvariants.unit.spec.ts OPS12 — CI bloqueia Closes/Fixes em PR só docs/plans 2026-08-01 11:26:19 +00:00
codebaseConventions.unit.spec.ts B102 — pin layout TooltipProvider wrap + mark plan done 2026-08-01 18:18:19 +00:00
contactCityMigration.unit.spec.ts Tooling: prettier como autoridade de formatacao (organize-imports deterministico, scripts format/format:check, normalizacao mecanica de 312 arquivos; artefatos gerados e migrations excluidos via .prettierignore) 2026-07-25 17:22:20 -03:00
dashboardPriorityMunicipalities.unit.spec.ts Engineering Pass 3: consolidate patterns and lock them with guards. 2026-07-29 06:11:29 -03:00
distinctWordStartQuery.unit.spec.ts fix(test): queries distintas em specs de portfolio de município 2026-07-30 22:29:20 -03:00
e2eAffectedManifest.unit.spec.ts chore(ci): parallel PR jobs, affected tests, push gate, owner-of-red-CI policy 2026-07-30 17:37:20 -03:00
e2eNavigationConventions.unit.spec.ts test(miss-54): deterministic guard for unsettled goto→goto + nav convention 2026-07-31 20:57:18 -03:00
electionPartySpectrum.unit.spec.ts Pass 2 W4a: electionInsights.ts deletado (941 linhas, 71 exports, 2 vivos) 2026-07-25 14:57:49 -03:00
electionResults.unit.spec.ts Tooling: prettier como autoridade de formatacao (organize-imports deterministico, scripts format/format:check, normalizacao mecanica de 312 arquivos; artefatos gerados e migrations excluidos via .prettierignore) 2026-07-25 17:22:20 -03:00
engagementLevel.unit.spec.ts E14: engagement levels N0-N4 and the first allocationDecision writer. 2026-07-27 21:19:33 -03:00
facebookPixel.unit.spec.ts Add Meta Pixel tracking to public petition pages. 2026-07-21 10:51:47 -03:00
federalNominalSliceFolds.unit.spec.ts B13+: concordância LQ, readout de escopo no mapa e DRY do build de agregados. 2026-07-29 16:26:43 -03:00
formatRelativeAge.unit.spec.ts Polish /campanha Field Desk UX and register FD+/FD2 follow-ups. 2026-07-19 08:17:12 -03:00
globalAccessConventions.unit.spec.ts security: lock public globals update to payloadAdminOnly (Pass 4 P0) 2026-07-31 20:57:18 -03:00
goalCoverage.unit.spec.ts Engineering Pass 3: consolidate patterns and lock them with guards. 2026-07-29 06:11:29 -03:00
homeSearchFocusHistory.unit.spec.ts B106 — Voltar no header mobile, Android back e skeleton das sugestões 2026-08-01 18:36:28 +00:00
homeSearchHitBudget.unit.spec.ts B55 — Busca global: ações de linha (WA e compartilhar) 2026-07-30 22:47:03 +00:00
homeSearchMunicipalityMatch.unit.spec.ts B50: home search Assessores group for unrestricted staff. 2026-07-29 22:09:42 -03:00
homeSearchResultsLayout.unit.spec.tsx B54 — Busca global: layout responsivo dos resultados (#60) 2026-07-30 18:45:44 -03:00
homeSearchRowActions.unit.spec.tsx fix(B55): defer share strategy to click + stabilize unit tests 2026-07-30 22:47:03 +00:00
homeSearchShare.unit.spec.ts B55 — Busca global: ações de linha (WA e compartilhar) 2026-07-30 22:47:03 +00:00
homeSearchSuggest.unit.spec.ts B68: curated municipality suggestions on empty home search focus. 2026-07-29 22:06:02 -03:00
homeSearchUi.unit.spec.tsx B103 — omit Sugestões heading in home search suggest mode 2026-08-01 18:11:54 +00:00
leaderContactsQuickActions.unit.spec.ts B89 — Ações rápidas em Contatos (liderança) 2026-08-01 05:27:45 +00:00
leadershipListUrl.unit.spec.ts B69: simplify the leadership model to exclusive + drop sector/consentNote. 2026-07-30 02:32:56 -03:00
leadershipMunicipalityMembership.unit.spec.ts B34: editable município chips on the leaderships list. 2026-07-27 22:35:19 -03:00
leadershipNameTruncate.unit.spec.ts feat(campanha): ship B70 leadership update wizard (grid + short form). 2026-07-30 03:51:25 -03:00
leadershipStateDeputyRelationCell.unit.spec.ts Deliver B37: editable município chips on the dobradinhas list. 2026-07-28 09:34:39 -03:00
listFilterOptions.unit.spec.ts Lift selected options to the top in shared header multi-filters. 2026-07-28 18:37:05 -03:00
listQueryMatch.unit.spec.ts B18: saved municipality list filters in localStorage and sidebar submenu. 2026-07-28 19:25:12 -03:00
localApiOverrideAccessConventions.unit.spec.ts refactor(lib): close the lib→utilities type-import hole + Local API omission guard 2026-07-31 13:17:10 -03:00
mapLqConcordance.unit.spec.ts B13+: concordância LQ, readout de escopo no mapa e DRY do build de agregados. 2026-07-29 16:26:43 -03:00
mapScaleClasses.unit.spec.ts simplify(B13): corrige classe agregada, bolhas em pane proprio e registra debitos 2026-07-26 05:12:37 -03:00
metropolitanoTerritoryPeers.unit.spec.ts Extract Metropolitano TI peer rules into lib for E12+. 2026-07-29 08:15:09 -03:00
municipalityGeographyParts.unit.spec.ts Engineering Pass 3: consolidate patterns and lock them with guards. 2026-07-29 06:11:29 -03:00
municipalityList.unit.spec.ts Remove Tipo column and list kind filter from municipality list. 2026-07-29 07:42:47 -03:00
municipalityMapNavigation.unit.spec.ts Engineering Pass 3: consolidate patterns and lock them with guards. 2026-07-29 06:11:29 -03:00
municipalityNameAliases.unit.spec.ts Engineering Pass 3: consolidate patterns and lock them with guards. 2026-07-29 06:11:29 -03:00
municipalityPortfolio.unit.spec.ts B34+: scale and DRY after municipality chip lists. 2026-07-28 19:49:29 -03:00
municipalityPortfolioCell.unit.spec.ts B34+: scale and DRY after municipality chip lists. 2026-07-28 19:49:29 -03:00
municipalityPotential.unit.spec.ts feat(E10+): Escala e DRY pós-E10 2026-07-29 23:18:25 -03:00
municipalityProximity.unit.spec.ts Resolve Salvador ZE in the staff "Onde estou" card (B14 / B8 F2-D1). 2026-07-29 07:56:58 -03:00
municipalitySavedFilters.unit.spec.ts Engineering Pass 3: consolidate patterns and lock them with guards. 2026-07-29 06:11:29 -03:00
municipalityScopeCacheKey.unit.spec.ts Engineering Pass 3: consolidate patterns and lock them with guards. 2026-07-29 06:11:29 -03:00
municipalityStaffVoteTotal.unit.spec.ts Tooling: prettier como autoridade de formatacao (organize-imports deterministico, scripts format/format:check, normalizacao mecanica de 312 arquivos; artefatos gerados e migrations excluidos via .prettierignore) 2026-07-25 17:22:20 -03:00
municipalityTerritorialClass.unit.spec.ts Engineering Pass 3: consolidate patterns and lock them with guards. 2026-07-29 06:11:29 -03:00
municipalityVoteRank.unit.spec.ts simplify(B13): corrige classe agregada, bolhas em pane proprio e registra debitos 2026-07-26 05:12:37 -03:00
notificationContract.unit.spec.ts D2 — Push + sino in-app para /campanha 2026-07-31 01:51:41 +00:00
onda0ConsentTexts.unit.spec.ts Add pre-push typecheck hook and fix campaign avatar field access. 2026-07-19 12:10:59 -03:00
payloadAdminRoles.unit.spec.ts Add users.roles so Payload /admin can separate editors from admins. 2026-07-27 01:54:29 -03:00
plansOnlyClosesGuard.unit.spec.ts OPS12 — CI bloqueia Closes/Fixes em PR só docs/plans 2026-08-01 11:26:19 +00:00
politicalTrendWizardUi.unit.spec.ts B104 — Wizard: label genérica "Pular" nas ações encadeadas 2026-08-01 17:57:12 +00:00
projectionSheetParse.unit.spec.ts Tooling: prettier como autoridade de formatacao (organize-imports deterministico, scripts format/format:check, normalizacao mecanica de 312 arquivos; artefatos gerados e migrations excluidos via .prettierignore) 2026-07-25 17:22:20 -03:00
recentVisits.unit.spec.ts C13 pos-simplify: fecha os residuos da varredura e estreita os guards 2026-07-25 21:29:32 -03:00
relationMembershipDelta.unit.spec.ts B37 simplify: one membership delta, cap messages named once. 2026-07-28 10:25:47 -03:00
revalidateRequest.unit.spec.ts Engineering Pass 3: consolidate patterns and lock them with guards. 2026-07-29 06:11:29 -03:00
scriptCliConventions.unit.spec.ts fix(seed-posts): import dieWithLabel before calling it (Pass 4 P1) 2026-07-31 13:17:10 -03:00
seedMinimalManifest.unit.spec.ts fix: drop unused ts-expect-error in manifest pin 2026-07-30 04:46:51 -03:00
sharedSheetHostConventions.unit.spec.ts test(miss-52): sheet cells without the shared host fail loud 2026-07-31 13:17:19 -03:00
signatureExport.unit.spec.ts Add admin CSV export for signatures and contacts. 2026-07-23 00:53:04 -03:00
siteMetadata.unit.spec.ts Make public SEO resilient when the metadata global is empty. 2026-07-27 08:20:33 -03:00
stateDeputyListUrl.unit.spec.ts B33: ordenação e filtro no header da lista de dobradinhas 2026-07-26 16:21:40 -03:00
suggestionCatalog.unit.spec.ts B62+: flatten adversary signal to boolean and harden leader redirect e2e. 2026-07-29 23:33:46 -03:00
supporterSchema.unit.spec.ts Add C6 scale/DRY for supporters: bulk import, KPI aggregate, shared shells. 2026-07-18 22:17:31 -03:00
supporterUi.unit.spec.ts Engineering Pass 3: consolidate patterns and lock them with guards. 2026-07-29 06:11:29 -03:00
territoryAnchor.unit.spec.ts B25: link do território na lista de municípios 2026-07-26 18:59:49 -03:00
territoryListUrl.unit.spec.ts Engineering Pass 3: consolidate patterns and lock them with guards. 2026-07-29 06:11:29 -03:00
territoryOverview.unit.spec.ts Simplify E12+ Metropolitano peers extraction. 2026-07-29 08:24:19 -03:00
testAffected.unit.spec.ts ci(pr): cascade phase1→phase2 with blast-radius skips 2026-07-31 20:57:18 -03:00
testMunicipalityAllocatorConventions.unit.spec.ts test(miss-73): deterministic allocator guardrails in conventions spec 2026-07-31 20:57:17 -03:00
ticketPartnerOpportunities.unit.spec.ts A6 — Dobradinha 2026 automática quando o TSE publicar candidaturas (pós-15/08) (#82) 2026-07-31 00:14:27 -03:00
tourRegionPending.unit.spec.ts Dim the tour composer proposal when changing identity territory. 2026-07-28 18:41:36 -03:00
vercelDeployCooldown.unit.spec.ts OPS11 — cooldown de 30 min entre deploys de produção (Vercel) 2026-08-01 10:54:55 +00:00
vercelProductionAlias.unit.spec.ts fix(ci): stop trusting GET /v13 alias for production domain ownership 2026-08-01 16:12:30 +00:00
visitEligibility.unit.spec.ts Engineering Pass 3: consolidate patterns and lock them with guards. 2026-07-29 06:11:29 -03:00
voteEstimate.unit.spec.ts Tooling: prettier como autoridade de formatacao (organize-imports deterministico, scripts format/format:check, normalizacao mecanica de 312 arquivos; artefatos gerados e migrations excluidos via .prettierignore) 2026-07-25 17:22:20 -03:00
voteEstimateScenarioInputs.unit.spec.tsx Fix vote estimate compact highlight test assertion 2026-08-01 19:01:12 +00:00
voteTrend.unit.spec.ts Pass 2 W4a: electionInsights.ts deletado (941 linhas, 71 exports, 2 vivos) 2026-07-25 14:57:49 -03:00
wizardActionChain.unit.spec.ts B110 — wizard return path via allowlisted from query 2026-08-01 20:39:24 +00:00
wizardExpectedVotesStep.unit.spec.tsx B108 — wizard autofocus first input + active scenario highlight 2026-08-01 18:59:42 +00:00
wizardLeadershipStep.unit.spec.ts B110 — wizard return path via allowlisted from query 2026-08-01 20:39:24 +00:00
wizardMunicipalitySuggest.unit.spec.ts B92 — wizard idle suggest: rank + loader + UI 2026-08-01 07:01:19 +00:00
wizardMunicipalitySuggestMerge.unit.spec.ts style: prettier B94 files 2026-08-01 07:44:00 +00:00
wizardNavigationPending.unit.spec.tsx style: prettier 2026-07-31 00:27:50 +00:00
wizardReturnPath.unit.spec.ts B110 — wizard return path via allowlisted from query 2026-08-01 20:39:24 +00:00
wizardSignalUi.unit.spec.ts B104 — Wizard: label genérica "Pular" nas ações encadeadas 2026-08-01 17:57:12 +00:00
wizardVoteEstimate.unit.spec.ts B77+: simplify vote wizard helpers after single-screen delivery. 2026-07-30 03:40:20 -03:00