callstack / callstack/agent-device
test(ios): committed ASWebAuthenticationSession fixture + CI lane
- Lingua principale
- TypeScript
- Stelle
- 4.6k
- Fork
- 299
- Merge medio
- 10h 42m
- PR unite (30g)
- 493
Descrizione
Follow-up to #2438 / #2448.
**Purpose.** #2448 shipped in-place capture/drive of `com.apple.SafariViewService` sign-in sheets, live-validated with a throwaway probe app. Give it a committed fixture and CI coverage on the real path.
**Required behavior.**
- Add an `expo-web-browser` `openAuthSessionAsync` (or `AppAuth`) flow to `examples/test-app` that opens a web sign-in sheet against a local/bundled IdP page (email + password + submit → callback scheme).
- Add an iOS smoke or Maestro replay lane that drives it semantically: `wait label="LOGIN"` → `press role=textfield` + `type` → `fill role=securetextfield` → `press role=button label="LOGIN"` → assert return to app.
**Observable completion.** The lane runs in CI on the shipped runner and fails if the sheet is not served (regression guard for the route bypass + runner serve).
**Dependencies.** Builds on #2448 (registry, runner serve, route probe already landed).
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia in examples/test-app e rivedi il lavoro su registry, runner serve e route probe di #2448 prima di scegliere il punto di ingresso della lane iOS smoke o Maestro. Aggiungi il flusso di sign-in locale o incluso e la copertura delle interazioni semantiche, quindi verifica che CI lo esegua sul runner distribuito e fallisca quando lo sheet non viene servito.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- ios, react-native, typescript
- Ambito
- authentication, ci-cd, mobile, testing
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Attiva
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 55/100