Open jcrosetto opened 2 weeks ago
Thanks for reporting!
We greatly appreciate any contributions that help resolve the bug. While we understand that active contributors have their own priorities, we kindly request your assistance if you rely on this bug being fixed. We encourage you to take a look at our contribution guidelines or join our friendly Discord development server, where you can ask any questions you may have. Thank you for your support, and cheers!
haloo i got a same error like this :
2024-06-14T09:20:51.207Z ERROR @wdio/utils:shim: Error: There isn't any active test!
[0-0] at AllureReporter.attachFile (file:///Users/61525/example/testing-mobile-2/testing-mobile/node_modules/@wdio/allure-reporter/build/reporter.js:58:19)
[0-0] at AllureReporter.attachScreenshot (file:///Users/61525/example/testing-mobile-2/testing-mobile/node_modules/@wdio/allure-reporter/build/reporter.js:71:14)
[0-0] at AllureReporter.onAfterCommand (file:///Users/61525/example/testing-mobile-2/testing-mobile/node_modules/@wdio/allure-reporter/build/reporter.js:363:18)
[0-0] at AllureReporter.emit (node:events:532:35)
[0-0] at AllureReporter.emit (node:domain:488:12)
[0-0] at file:///Users/61525/example/testing-mobile-2/testing-mobile/node_modules/@wdio/runner/build/reporter.js:47:56
[0-0] at Array.forEach (
this log appear when i'm running my script. before feature file is called.
I hope anyone know how to fix this problem.
Have you read the Contributing Guidelines on issues?
WebdriverIO Version
8.37.0
Node.js Version
18.20.3
Mode
Standalone Mode
Which capabilities are you using?
No response
What happened?
After upgrading to webdriverio version 8.37.0 some test suite runs are failing with
Error: There isn't any active suite!
In the allure report the test is showing as passed, so this error must be happening aftewards. I did a little digging and it looks like it may be failing because
_endTest
inreporter.js
is being called for one of the hook states that gets pushed on the_state
stack.This does not occur in version 8.36.1.
What is your expected behavior?
Tests pass without failures.
How to reproduce the bug.
Minimal example (corresponding gist) that recreates the issue:
before
method.before
hook followed by a call tobrowser.url
(there must be both). I used the mocha test runner but I'm not sure if this matters.describe
block that a contains a single test.Relevant log output
Code of Conduct
Is there an existing issue for this?