allow more steps to execute after step failure
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 30/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- playwright
- Ambito
- testing
Direzione di ricerca
Inizia con la gestione dei fallimenti degli step del Cucumber runner e confrontala con le soft assertions di Playwright. Esamina il workaround esistente con gli After hooks e determina come debba essere registrato uno step fallito mentre l’esecuzione continua; completato significa che gli step successivi vengono eseguiti e che lo scenario termina comunque con Failed.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
🤔 What's the problem you're trying to solve?
Playwright soft assertions are not working with cucumber runner. They work well with playwright runner.
✨ What's your proposed solution?
Looking for option to capture error and set status manually as Failed when soft exception occurs and continue the testing steps.
⛏ Have you considered any alternatives or workarounds?
Tried by capturing the exception and print at end of After hooks and fail test there but still not satisfier compared with soft assertion which fails the test step but still continues the test. Tried custom method for capturing error and assigning test step status as failure but current cucumber library doesn't allow that
📚 Any additional context?
Please let me know if there alternate option available within cucumber to fail step for soft assert type error and still continue execution. If we are able to update the error programmatically and still continue the process will also help.
This text was originally generated from a template, then edited by hand. You can modify the template here.
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 3.4k
- Fork
- 676
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
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 cucumber/common
-
Upgrade to TypeScript 7Forse di nuovo libera @davidjgoss l’ha presa 124 giorni fa e non c’è nessuna pull request aperta. Apertalanguage: javascript
-
Allowing both DocString and DataTable on a single stepForse di nuovo libera @mpkorstanje l’ha presa 129 giorni fa e non c’è nessuna pull request aperta. Aperta
cucumber/common#2315 · 23 commenti · 1 reazione · 1 assegnatario ·
-
Enable static analysisForse di nuovo libera @mpkorstanje l’ha presa 220 giorni fa e non c’è nessuna pull request aperta. Aperta
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
Tutte le issue di cucumber/common
Issue simili
-
frontend testing
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
vendrabuck/HERD#1588 ·
I maintainer di solito rispondono entro 1 giorno
-
`explain <unknown topic>` prints a JSON object and exits 0 instead of an error that lists the topicsApertaenhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
Unit tests for tagSpeakerApertagood first issue priority: low testing
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
I maintainer di solito rispondono entro 1 giorno
-
mobile
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
bug help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno