webdriverio-boneyard / wdio-cucumber-framework

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

Outdated build files #62

Closed skadeglad closed 7 years ago

skadeglad commented 7 years ago

Hello!

latest release solved undefined error for reporting but ./build folder in a package installed via npm install wdio-cucumber-framework@0.3.1 still contains old build files, e.g.:

var err = stepResult.getFailureException();
    error = {
        message: err.message,
        stack: err.stack
    };
    this.failedCount++;

instead of:

var err = stepResult.getFailureException();
    if (err instanceof Error) {
        error = {
            message: err.message,
            stack: err.stack
        };
    } else {
        error = {
            message: err
        };
    }
    this.failedCount++;

inside ./build/reporter.js

for now we need to manually build new version from ./lib that is up-to-date

updating ./build folder on npm would be much appreciated!

okrajni commented 7 years ago

+1