Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

The Home e2e test can pass while the standing panel is missing

Abierto
#1,471 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
82/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
go
Área
cli, testing-qa

Línea de trabajo

Start with the standing entry at internal/e2e/tuiwords_test.go:186 and the tagged Home assertion in internal/e2e/tui_e2e_test.go. Run TestTUIE2E and inspect the matcher against a captured or fake Home frame where standing appears outside the panel. Done means the bounded panel check rejects the false positive, includes a unit test, and records the strengthened oracle in invalidates.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

area:tests bug hygiene sev:papercut

Seen on dev@debffabf6. Surfaced while verifying #1415; not introduced by it.

What happened

The e2e needle for Home's standing panel is only standing. Other screen text can contain that word, so the test may pass even if the panel heading or its rows are absent. The cheap source-word gate checks that the literal exists, not that it occupies the correct screen block.

Replication

Deterministic (no model). Inspect the standing entry in the tuiWord table. In a captured Home frame containing standing elsewhere, remove the panel block and apply the current substring assertion; it still matches. A fake Home frame can drive this without a model.

Where

internal/e2e/tuiwords_test.go:186 at dev@debffabf6 supplies the bare word. The tagged Home assertion in internal/e2e/tui_e2e_test.go consumes that needle.

The fix

Assert the heading within the panel's own bounded block and at least one expected row or empty-panel whisper for the fixture.

Acceptance

  • e2e: TestTUIE2E fails if the standing panel is removed while another part of Home still says standing.
  • Unit: the panel-block matcher rejects that false-positive frame.
  • Record the strengthened oracle in the test change entry's invalidates.
Lenguaje dominante
Go
Estrellas
115
Forks
14
Merge medio
9 h 38 min
PR fusionados (30 d)
730

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Agent-Field/CodeAF

Todos los issues de Agent-Field/CodeAF

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.