You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I expect the video files that are generated and present within the output directory to be included in the Allure Report when using before / beforeEach hooks.
Environment (please complete the following information):
wdio-video-reporter version: 5.2.0
WebdriverIO version: 8.36.0
Mode: Testrunner
If WDIO Testrunner, running sync/async: async
Node.js version: v20.11.1
NPM version: 10.2.4
Browser name and version: 123.0.6312.122
Platform name and version: MacOS Ventura - 13.6.3
Desktop (please complete the following information):
OS: MacOS
Browser: Chrome
Version: 123.0.6312.122
Additional context:
Viewing the output directory, the video file is present and labelled appropriately.
Despite the before / beforeEach hooks succeeding, a video is created for these steps are attached to the allure report regardless of the 'saveAllVideos' parameter in the configuration.
When removing the beforeEach hook in the above snippet, the videos of the tests are attached to the allure report as expected.
The text was updated successfully, but these errors were encountered:
Describe the bug
Videos generated are not attached correctly to the allure report if a before / beforeEach hook exists in Mocha.
Log:
To Reproduce
Test File:
package.json:
wdio.conf.js:
Boiler plate configuration with the below updates to reporters:
Expected behavior:
I expect the video files that are generated and present within the output directory to be included in the Allure Report when using before / beforeEach hooks.
Environment (please complete the following information):
Desktop (please complete the following information):
Additional context:
The text was updated successfully, but these errors were encountered: