Comments (8)
@BrandonDBrown sure this can be added to the json reporter. Just do a PR 😉 . The reporter is not owned by us but I am sure @fijijavis won't have anything against it.
from wdio-cucumber-framework.
@christian-bromann Great idea! Part of my question was asking for some help on how to add this to a custom reporter. If you have any ideas?
from wdio-cucumber-framework.
If you have any ideas?
Just look how the json reporter is implemented and integrate the customer reporter like in here: https://github.com/webdriverio/webdriverio/blob/master/examples/wdio/wdio.customreporter.conf.js
from wdio-cucumber-framework.
@christian-bromann Bingo. I have done all this, but I don't know how to access the Given, Then and When keywords to add to my custom reporter. Sorry my initial question wasn't very detailed.
from wdio-cucumber-framework.
If you don't get the data via the event payloads we need to enhance the wdio-cucumber-framework do send that data
from wdio-cucumber-framework.
Right now I am not seeing the data in the event payload. Wasn't sure if I was missing something.
from wdio-cucumber-framework.
Wasn't sure if I was missing something.
as I said then we need to enhance the reporter to send the step name
from wdio-cucumber-framework.
@BrandonDBrown , were you able to create a custom json wdio reporter for cucumber that would at least roll up the status of each Scenario based on the states of its steps ('tests', according to the default json reporter)?
from wdio-cucumber-framework.
Related Issues (20)
- Doesn't build properly on Node11 HOT 1
- How to use setWorldConstructor HOT 2
- how to access uri from beforeFeature() after version 1.1.1 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.