XCTest nightly: in-app back on the sole screen flakes with changed=yes

Aperta
#4,322 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
cypress, ios, typescript
Ambito
mobile, testing-qa

Direzione di ricerca

Start with RunnerTests+NavigationTests.swift:65 and inspect the IN_APP_BACK_VISUAL_VERIFICATION capture comparison and the sole-screen test fixture. Compare consecutive captures to identify what changed after the tap, then determine whether the verification or fixture owns the fix. Done means the root cause is fixed with a deterministic test, or the test passes in five consecutive XCTest Nightly iPhone runs.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug

Purpose

testInAppBackOnTheSoleScreenReportsATapThatChangedNothingAsUnavailable fails intermittently in the XCTest Nightly iPhone leg on iOS 26.2.

Current behavior

The test fails at RunnerTests+NavigationTests.swift:65: "a top-leading tap on an app without a back control must not read as performed". The runner logs IN_APP_BACK_VISUAL_VERIFICATION … changed=yes. So two real screen captures differed after a tap that should change nothing.

Runs:

  • main nightly 42338987297 (2026-11-07): failed.
  • #4320 nightly 42390630488: passed.
  • #4320 nightly 42394725350: failed, the only failure in 665 tests.

Required behavior

  • Find what differs between the two captures, for example a status bar clock, a cursor blink, a transient overlay or an animation still settling.
  • Make the visual verification ignore changes that a tap cannot cause, or make the test fixture static. Fix it at the owner: the verification if it misreads product behavior, or the fixture if the test is the problem.
  • Don't retry the test or skip it.

Completion conditions

  • The test passes in 5 consecutive XCTest Nightly iPhone runs, or the root cause is shown and fixed with a deterministic test.
Lingua principale
TypeScript
Stelle
5.3k
Fork
377
Merge medio
13h 58m
PR unite (30g)
654

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di callstack/agent-device

Tutte le issue di callstack/agent-device

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.