Flaky browser test: AreaHeadersTest 'shows Counting on the way while deferred tab counts load'

Aperta Adatta ai principianti
#923 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
74/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
laravel, php
Ambito
testing

Direzione di ricerca

Inizia con il caso di AreaHeadersTest chiamato “shows Counting on the way while deferred tab counts load” e con l’esecuzione del test del browser collegata nell’issue. Sposta il controllo del testo per gli screen reader nella stessa condizione di attesa che trova il pallino. Il lavoro è completato quando il test controlla il testo prima che i conteggi differiti facciano scomparire il pallino.

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

Descrizione

area/tests type/bug when/soon

The test waits for the Counting pill, then checks the pill's screen-reader text in a separate step. The counts arrive about 400 ms after the pill is drawn, and the pill disappears when they do. If the check runs after that, it finds no pill and fails with Failed asserting that false is identical to true.

Seen on the 1.15 join pull request (browser share 2): https://github.com/temecms/teme/actions/runs/47421032708

Fix: check the pill's text inside the same wait condition that finds the pill, so both happen while it is on screen.

Lingua principale
PHP
Stelle
1
Fork
1
Merge medio
1h 46m
PR unite (30g)
172

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 temecms/teme

Tutte le issue di temecms/teme

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.