Open gaurist opened 6 years ago
Hi @wswebcreation : wdio-cucumber-framework : 2.2.8 , following is the response from beforeFeature. with version 1.1.0, uri was included in the response.
{
"type":"Feature",
"tags":[
],
"location":{
"line":1,
"column":1
},
"language":"en",
"keyword":"Feature",
"name":"Testing feature file path",
"children":[
{
"type":"ScenarioOutline",
"tags":[
{
"type":"Tag",
"location":{
"line":3,
"column":3
},
"name":"@id=test"
}
],
"location":{
"line":4,
"column":3
},
"keyword":"Scenario Outline",
"name":"Verify the Google Elements",
"steps":[
{
"type":"Step",
"location":{
"line":5,
"column":5
},
"keyword":"Given ",
"text":"I open the <path> page"
},
{
"type":"Step",
"location":{
"line":6,
"column":5
},
"keyword":"When ",
"text":"I visit the google page"
},
{
"type":"Step",
"location":{
"line":7,
"column":5
},
"keyword":"And ",
"text":"I expect element \"googlebox\" to be present"
}
],
"examples":[
{
"type":"Examples",
"tags":[
],
"location":{
"line":10,
"column":5
},
"keyword":"Examples",
"name":"",
"tableHeader":{
"type":"TableRow",
"location":{
"line":11,
"column":7
},
"cells":[
{
"type":"TableCell",
"location":{
"line":11,
"column":9
},
"value":"path"
}
]
},
"tableBody":[
{
"type":"TableRow",
"location":{
"line":12,
"column":7
},
"cells":[
{
"type":"TableCell",
"location":{
"line":12,
"column":9
},
"value":"wwww.google.com"
}
]
}
]
}
]
}
]
}
Hi @gaurist
Can you please provide more information like:
Have you also checked the CucumberJS docs. They changed a lot in the structure of the response of CucumberJS.