Single flow multiple validations
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- playwright
- Ambito
- testing-qa
Direzione di ricerca
Non sono identificati file, test o punti di ingresso. Inizia esaminando come vengono attualmente gestiti da Cucumber backgrounds, hooks e tags, nonché l’esecuzione parallela, quindi chiarisci il ciclo di vita e l’ambito supportati per condividere un popup flow tra scenari o feature files. Il lavoro sarà considerato completato quando saranno disponibili un design concordato e una copertura per il comportamento basato sui tag proposto.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
I'm using playwright with cucumber -bdd framework.
🤔 What's the problem you're trying to solve?
Can we have something like single flow multiple validations
Example: I have a pop up where 3 buttons needs to be validation for its presence so for this I need to write 3 different test cases as I don't want to merge this validations in single
If I use background or scenario outline the step till opening is pop up will execute in all 3 test cases,
Also global hooks or any before hooks will execute the flow till pop up each time.
Expectation:: Open pop up only once and all 3 test cases should be executed, be it in same file or different feature file, Be it with same tag execution run or different tag execution run
We also need to make sure each test cases have same tag execution or different tag execution
Assume all above test cases are in different feature files and the testcases have tag @regression and @popup
Example:
When run regression tag test cases all 3 will execute but at different time what if we could develop reading a tag popup before execution starts and have a bunch of such test cases combined internally and executed. This will reduce execution time drastically.
✨ What's your proposed solution?
It would be great if we could develop a flow like reading a tag "popup" (in above scenario) from all the feature files before execution starts and have a bunch of such test cases combined internally in memory and executed, where the popup will open only once and all related testcases having that tag within a single feature file or different feature files will perform their own validations.
Something like background we have, but background executes each time for each test case and also it has limitations to single feature file.
This will reduce execution time drastically.when tests are run in parallel.
Or
any other way you could think to handle such scenarios.
Or
If already anything like this is available in cucumber please let me know how can It be handled
⛏ Have you considered any alternatives or workarounds?
Not getting any work around
📚 Any additional context?
No response
- 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
-
Setup Automated issue managementForse di nuovo libera @mpkorstanje l’ha presa 379 giorni fa e non c’è nessuna pull request aperta. Aperta
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