allow more steps to execute after step failure

Aperta
#2,161 9 commenti 1 reazione 0 assegnatari Vedi su GitHub

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

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 cucumber/common

Tutte le issue di cucumber/common

Issue simili

Altre issue su Testing & QA

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.