Terminate a browser immediately when all tests are done on it
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- javascript
- Ambito
- testing-qa
Direzione di ricerca
Inizia eseguendo il comando npm test mostrato con più browser e ispeziona il ciclo di vita del test-runner durante il completamento e la terminazione dei browser. Traccia la gestione delle sessioni Selenium e BrowserStack; completato significa che ogni browser viene terminato non appena finiscono i suoi test, senza essere considerato bloccato o rieseguire il suo ultimo modulo.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Currently, JTR only terminates browsers when all tests are done in all requested browsers.
It's not a problem for our CI as we only run JTR on a single browser at a time, but it makes local test runs much more annoying.
For example, running the following in jQuery:
npm run test:unit -- -v -c jtr-isolate.yml --browserstack 'IE_11' --browserstack 'Chrome_latest' --browserstack 'Firefox_latest' --browserstack 'Safari_latest'
usually leads to modern browsers finishing quickly and waiting while IE is running tests. Since they wait for a long time, the browsers are idle for too long and... JTR (or something under the hood) thinks it's because the browser got stuck, restarts the browser and re-runs the last module tests on it (here: tween).
One possible solution to this would be to fix this detection, but needlessly keeping the browser running in idle mode is also not great; just terminating the browser when it's done would solve both issues at the same time.
- Lingua principale
- JavaScript
- Stelle
- 4
- Fork
- 2
- Merge medio
- 1g 2h
- PR unite (30g)
- 1
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di jquery/jquery-test-runner
-
`latest-1` should match the highest version below the latest, not really latest minus 1Forse di nuovo libera @timmywil l’ha presa 464 giorni fa e non c’è nessuna pull request aperta. Aperta
jquery/jquery-test-runner#17 · 5 commenti · 1 assegnatario ·
-
Failed DELETE worker requests don't trigger test retriesForse di nuovo libera @timmywil l’ha presa 590 giorni fa e non c’è nessuna pull request aperta. Aperta
jquery/jquery-test-runner#15 · 1 assegnatario ·
Tutte le issue di jquery/jquery-test-runner
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
good first issue help wanted javascript up-for-grabs
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
andrewsiah/agentswarm-data-tasks#307 ·
I maintainer di solito rispondono entro 1 giorno
-
needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
coder/claudecode.nvim#588 ·
I maintainer di solito rispondono entro 1 giorno
-
area: web tech debt
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
digitalbazaar/http-client#60 ·