The Problem
Scenario:
I have a Test scenario that has around 10+ test cases within it. At present, we have all 10+ test cases ( Around 40 Steps) written within the single scenario. Reason behind this is the page flow/fixture usage is the same and cannot be segregated.
Current World:
Currently each scenario is represented as test.describe() in the bddgen and each test block within the describe has a new fixture.
Challenge:
Having 40+ steps makes it very lengthy and unreadable. Would be logical to have them segregated as 10 different scenario within the feature with each scenario referring to a Test case.
Proposed Solution
Feature Request:
- Is there a way by which we can have one test.describe for a Feature with each scenario represented as test?
- is there a way by which the fixture (ex: page)/hooks can be shared across the test and set at the describe level?
Additional Context
I have seen a similar structure being used in protractor-based frameworks. Would be great if we can replicate it here as well.
Priority Level
High
The Problem
Scenario:
I have a Test scenario that has around 10+ test cases within it. At present, we have all 10+ test cases ( Around 40 Steps) written within the single scenario. Reason behind this is the page flow/fixture usage is the same and cannot be segregated.
Current World:
Currently each scenario is represented as test.describe() in the bddgen and each test block within the describe has a new fixture.
Challenge:
Having 40+ steps makes it very lengthy and unreadable. Would be logical to have them segregated as 10 different scenario within the feature with each scenario referring to a Test case.
Proposed Solution
Feature Request:
Additional Context
I have seen a similar structure being used in protractor-based frameworks. Would be great if we can replicate it here as well.
Priority Level
High