The current #excute command inserts raw text from a file, which fails if the inserted text contains structural gherkin elements.
To alleviate the issue and allow for test scripts to be inserted, the insert should remove any line that starts with "Feature:". This will allow the fully formed scenarios of another script to be inserted into a parent stript without failure.
The approach will be to comment out the feature line by placing "#!execRemoved!#" at the beginning of the line. This will maintain the overall structure.
The current #excute command inserts raw text from a file, which fails if the inserted text contains structural gherkin elements.
To alleviate the issue and allow for test scripts to be inserted, the insert should remove any line that starts with "Feature:". This will allow the fully formed scenarios of another script to be inserted into a parent stript without failure.
The approach will be to comment out the feature line by placing "#!execRemoved!#" at the beginning of the line. This will maintain the overall structure.