Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video not attached when allure option disableWebdriverStepReporting: false #589

Open
robinmatz opened this issue Jan 30, 2025 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@robinmatz
Copy link

robinmatz commented Jan 30, 2025

Describe the bug
I noticed that the video for test execution is not attached when the disableWebdriverStepReporting parameter for allure is set to false, which is the default value.

Log
https://gist.github.com/robinmatz/1c1cc74871d354ff698bf50f90d312d5

To Reproduce
I used the demo project of this repository. Steps:

# clone the repository
$ git clone https://github.com/webdriverio-community/wdio-video-reporter.git
$ cd wdio-video-reporter

# build the project
$ npm run build

# run the demo
$ npm run demo:mocha

# Optional: install allure-commandline to generate the report from raw results
$ npm i -g allure-commandline

# Go to results and open the report
$ cd demo/_results_
$ allure serve allure-raw

Expected behavior
I expect the video of the test execution to be attached to the bottom of the webdriver steps. However it is not attached, see

Image

Environment (please complete the following information):

  • wdio-video-reporter version: [https://github.com/webdriverio-community/wdio-video-reporter/blob/main/package.json]
  • WebdriverIO version: [https://github.com/webdriverio-community/wdio-video-reporter/blob/main/package.json]
  • Mode: [Standalone mode or WDIO Testrunner]
  • If WDIO Testrunner, running sync/async: [async]
  • Node.js version: [20.18.0]
  • NPM version: [10.8.2]
  • Browser name and version: [Chrome 132]
  • Platform name and version: [Windows 11]

Additional context
When setting disableWebdriverStepReporting to true, the video execution is added just normally:

// <project_root>/demo/wdio.conf.ts
['allure', {
   outputDir: path.join(__dirname, '_results_/allure-raw'),
   disableWebdriverStepsReporting: true
}],

Image

@christian-bromann christian-bromann added bug Something isn't working help wanted Extra attention is needed labels Feb 3, 2025
@christian-bromann
Copy link
Contributor

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants