webdriverio-boneyard / wdio-allure-reporter

A WebdriverIO v4 plugin. Reporter that creates Allure Test Reports (http://allure.qatools.ru/)
MIT License
38 stars 48 forks source link

allure-js-commons: Unexpected endStep(). There are no any steps running #150

Closed treyturner closed 5 years ago

treyturner commented 5 years ago

Since upgrading to wdio v5, most of my test runs conclude with the following output spammed to stderr:

[0-0] allure-js-commons: Unexpected endStep(). There are no any steps running

This happens anywhere from a few to several hundred times depending on the length of the spec/suite, inhibiting analysis of the spec reporter output. I'm sure this is the result of code running outside of tests, but this seems expected for setup and teardown, no?

The issue was raised in the allure-js-commons repo (https://github.com/allure-framework/allure-js-commons/issues/21) but it was said that a fix would need to be found here.

I'm a little unclear as to the status of this reporter; it's still mentioned in the v5 docs, and I see it was moved to the new @wdio/* package namespace, but I also see that the code is in the boneyard. This reporter was useful to me and some of the non-engineering types in my org for v4, so it'd be great to have it as functional in v5.

BorisOsipov commented 5 years ago

Create issue in the v5 repo. Also create repo with reproduceable example. Will see what is the problem

On Sat, 19 Jan 2019, 13:09 Trey Turner <notifications@github.com wrote:

Since upgrading to wdio v5, most of my test runs conclude with the following output spammed to stderr:

[0-0] allure-js-commons: Unexpected endStep(). There are no any steps running

This happens anywhere from a few to several hundred times depending on the length of the spec/suite, inhibiting analysis of the spec reporter output. I'm sure this is the result of code running outside of tests, but this seems expected for setup and teardown, no?

The issue was raised in the allure-js-commons repo ( allure-framework/allure-js-commons#21 https://github.com/allure-framework/allure-js-commons/issues/21) but it was said that a fix would need to be found here.

I'm a little unclear as to the status of this reporter; it's still mentioned in the v5 docs, and I see it was moved to the new @wdio/* package namespace, but I also see that the code is in the boneyard. Thie reporter was useful to me and some of the non-engineering types in my org for v4, so it'd be great to have it as functional in v5.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/webdriverio-boneyard/wdio-allure-reporter/issues/150, or mute the thread https://github.com/notifications/unsubscribe-auth/AGNmZFhmLLZ20e0crdMrtyE6KPl9y0Lvks5vEu69gaJpZM4aJEO6 .

BorisOsipov commented 5 years ago

I'm a little unclear as to the status of this reporter

this reporter for v4. Reporter for v5 is on main wdio repo.

treyturner commented 5 years ago

@BorisOsipov Sorry, where? I posted here because I looked and couldn't find it, or what I did find had a post from you saying to report the issue here.

https://github.com/webdriverio/webdriverio/issues/2953#issuecomment-421781250

https://github.com/webdriverio?utf8=%E2%9C%93&q=allure&type=&language=

BorisOsipov commented 5 years ago

@treyturner

Sorry, where?... I did find had a post from you saying to report the issue here.

yes it was actual for old(v4.x) wdio releases issues. Now wdio v5 is monorepo and all issues for @wdio/* are here https://github.com/webdriverio/webdriverio/issues/new/choose

BorisOsipov commented 5 years ago

@treyturner btw it is important to have repo with example how repoduce issue.

treyturner commented 5 years ago

Opened a new ticket with a reproducible example: https://github.com/webdriverio/webdriverio/issues/3386