Repository navigation
How to make End to End testing suite for different Personas and run them one after the other #1648
Replies: 1 comment
|
A good structure is to make each persona an orchestrating Flow and move shared behavior into reusable For local execution, you can explicitly order the personas in executionOrder:
continueOnFailure: false
flowsOrder:
- persona_a
- persona_b
- persona_cEach persona flow can then call whatever common and persona-specific subflows it needs. For example: # persona_a.yaml
appId: com.example
---
- runFlow: shared/login.yaml
- runFlow: persona-a/create-order.yaml
- runFlow: shared/logout.yamlOne important limitation: If strict sequencing is required in Cloud because later scenarios genuinely depend on earlier ones, put the dependent sequence into a single top-level orchestrator Flow (using Where possible, keep top-level tests independently runnable; that gives you much better isolation and parallelism. Please mark this answer as accepted if it helped, thank you. |
Uh oh!
There was an error while loading. Please reload this page.
Suppose,
Now,
How, do we make end to end Test Suite for this scenario, such that, first we execute all test cases for Persona A, then for Persona B and then for Persona C .
Currently, the test cases structure is such as below:
- TestSuite Folder
----config.yaml
----(Feature)X
--------(flow) M
--------(flow) N
--------(flow) P
----(Feature)Y
--------(flow) Q
--------(flow) R
----(Feature)Z
--------(flow) S
--------(flow) T
All reactions