Comments (2)
Hi @gaurist
Can you please provide more information like:
- Which version of wdio-cucumber-framework you are on
- have you tried to debug the response from the beforeFeature
Have you also checked the CucumberJS docs. They changed a lot in the structure of the response of CucumberJS.
from wdio-cucumber-framework.
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"
}
]
}
]
}
]
}
]
}
from wdio-cucumber-framework.
Related Issues (20)
- Doesn't build properly on Node11 HOT 1
- How to use setWorldConstructor HOT 2
- Can you get tags from configuration file in beforeScenario function HOT 2
- Skipped scenarios - if one fails the rest got skipped HOT 8
- "Error in onReload hook" using reload method on update framework version HOT 5
- Running scenarios with line number throw "file not found" error HOT 14
- before hook is not executed in wdio.conf.js HOT 1
- tags at Example causing exception HOT 9
- 'Socket hang up' errors started occurring consistently (but intermittently on different tests/steps) after 8-11 scenarios in a wdio-cucumber-framework feature file
- Unable to get Scenario result in cucumber hooks afterScenario HOT 1
- On step timeout neither the onError hook nor the step retries work HOT 2
- When will wdio-cucumber-framework migrate wdio V4 to V5? HOT 1
- globbing in --spec causes "more than one config file specified" error HOT 6
- cucumberOpts.strict doesn't work
- session not created: Unable to create new service: ChromeDriverService HOT 13
- before() in wdio.conf.js is not executing the spec file which I would like to execute before all other spec files. HOT 1
- CucumberOpts.compiler doesn't handle compiler options correctly
- Question: How do you use the build in Reporter? HOT 4
- Fibers@4 for Node12 support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wdio-cucumber-framework.