webdriverio-boneyard / wdio-cucumber-framework

A WebdriverIO v4 plugin. Adapter for Cucumber testing framework.
MIT License
77 stars 61 forks source link

Output is incomplete #46

Closed rochdev closed 7 years ago

rochdev commented 7 years ago

Given a feature:

Feature: My Feature
    Scenario: My Scenario
        Given some context
        When I do something
        Then I achieve some goal

I would expect to have a similar output in the console, but instead I get:

My Feature

My Scenario
    ✓ some context
    ✓ I do something
    ✓ I achieve some goal

It's missing all the keywords to make proper sentences which are usually added by cucumber.

I am using the spec reporter with the pretty formatter.

christian-bromann commented 7 years ago

@rochdev right now this is how spec reporter works. It isn't quite aligned to other cucumber reporters. Note that WebdriverIO has framework independent reporters that work also with other test frameworks like Mocha or Jasmine.

The spec reporter could be smarter about which framework is used and adapt the output accordingly.

christian-bromann commented 7 years ago

This issue was moved to webdriverio/wdio-spec-reporter#21