https://cypress.io logo
Cypress- Cucumber - BDD get the scenario executio...
# i-need-help
w
I am trying to integrate the cypress cucumber framework with test rail, i have successfully completed calling testrail api with valid data, however i would like to have the dynamic data being passed for each test scenario , in order to do how can extract the test case id(if i pass this within scenario name), scenario test either pass or fail and the comments if its failed . Running on cypress: 12.2.0
b
hmmm, I am sure a @User with cucumber experience can hop in an assist with this question 😀
m
@careful-insurance-62240 @ripe-daybreak-97926
r
We implemented in java cucumber before, but we took the whole freature file from testrails
So this wouldn't be a cypress issue more how to get data into static features ?
w
Here i am able to integrate the cypress framework with test rail, however, i want to know what is the status of each scenario after test case execution, may be something like passed/failed/pending is there any way of getting the iinformation ?
m
Following!!!!
w
Could you please let me know how it can be achieved?
r
I think it's hard to get the scenario object result in cucumber preprocessor as it is in say cucumber jvm. You would need to get the resut in after scenario and update testrail result via api.
w
okay, how would i get the result after scneario ?
r
That's the question, wed have to talk to cypress devs on that one. Don't think it's available like other cucumber implementations
w
okay , any idea who can help with this or how can i get the information?
5 Views