Hacktoberfest 2026 : les issues que les mainteneurs ont marquées pour octobre, ouvertes et accessibles aux débutants. Parcourir les issues Hacktoberfest

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

Ouverte
#1,471 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
1-2 jours
Accessibilité débutants
82/100
Type d'issue
Bug
Clarté
Clairement spécifiée
Activité
Active
Stack technique
go
Domaine
cli, testing-qa

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.
Langage dominant
Go
Étoiles
115
Forks
14
Merge moyen
9 h 35 min
PR mergées (30 j)
752

Préparer son environnement

Nous n'avons pas encore vérifié les fichiers d'installation de ce projet. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de Agent-Field/CodeAF

Toutes les issues de Agent-Field/CodeAF

Issues similaires

Plus d'issues Go

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.