ui5-community / wdi5

official UI5 end-to-end test framework for UI5 web-apps. wdi5 = Webdriver.IO + UI5 Test API
https://ui5-community.github.io/wdi5/
Apache License 2.0
102 stars 43 forks source link

Unable to run Allure Report #437

Closed antomelvin closed 1 year ago

antomelvin commented 1 year ago

Hello,

I get the following error when I try to run the allure report.

ERROR @wdio/local-runner: Failed launching test session: TypeError: ReporterClass is not a constructor

I have followed the steps mentioned here - https://webdriver.io/docs/allure-reporter/ Could you someone provide support in this regard? Thank you.

With regards, Anto

vobu commented 1 year ago

are you using @wdio/allure-reporter@^7? we're still in the course of doing the wdio^8 enablement. And this might also affect all plugins used with wdio/wdi5 - so try version 7 of the allure-reporter, please.

antomelvin commented 1 year ago

Hello, I changed it to version 7.0.0. The issue still persists.

vobu commented 1 year ago

can you please post either a minimal reproducible sample (preferred) and/or your config, along with all details filled out that we ask for in the bug report template (https://github.com/ui5-community/wdi5/issues/new?assignees=&labels=&template=bug_report.md&title=). Then we have to do less guessing and might progress faster 😺

antomelvin commented 1 year ago

Hello, reducing the version of th allure-reporter actually seems to work now! :) However, the report fails to load. I see the web server running on the commandline and the brower opens up but it fails to connect. Any idea as to how this can be fixed? Command used: allure generate --clean allure-results && allure open allure-report (I have installed allure-commandline)

antomelvin commented 1 year ago

This issue was related to the IP address. It works now! Thank you :)

vobu commented 1 year ago

didn‘t help much here but good that this got sorted out 👍