This repository has been archived by the owner on Dec 18, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 61
how to access uri from beforeFeature() after version 1.1.1 #155
Labels
Comments
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. |
Hi @wswebcreation : wdio-cucumber-framework : 2.2.8 , following is the response from beforeFeature. {
"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"
}
]
}
]
}
]
}
]
} |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
No description provided.
The text was updated successfully, but these errors were encountered: