allure-framework / allure2

Allure Report is a flexible, lightweight multi-language test reporting tool. It provides clear graphical reports and allows everyone involved in the development process to extract the maximum of information from the everyday testing process
https://allurereport.org/
Apache License 2.0
4.07k stars 702 forks source link

Double '/' in URL when navigate to history result #1762

Open flotnik opened 1 year ago

flotnik commented 1 year ago

Describe the bug Occures in TeamCity

To Reproduce Steps to reproduce the behavior:

  1. for TC configuration run open tab Allure Reports
  2. Select any test
  3. Open tab History for this test
  4. Click on any history result for this test

Expected behavior Web page opens and I can see history result

Actual result The URL contains extra '/' before repository part. For example: https://teamcity.mycompany.com//repository/download/AndroidVK_AndroidAutoTests_UiTestsStableRegressOnAvd/9260311:id/allure-report.zip!/allure-report/index.html?branch=develop/#testresult/eb3ac8ea616d60ea

If I remove this extra '/' everythig is working

Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information): Android kotlin autotests use following dependencies: io.qameta.allure:allure-kotlin-commons:2.4.0 io.qameta.allure:allure-kotlin-junit4:2.4.0 io.qameta.allure:allure-kotlin-model:2.4.0 io.qameta.allure:allure-kotlin-android:2.4.0

Allure version 2.4.0
Test framework junit@4.13.2
Allure adaptor allure-kotlin-junit4@2.4.0
Generate report using Report is formed on TeamCity Enterprise 2022.04 (build 108502)
cheshi-mantu commented 1 year ago

@flotnik hello, sir. thank you for reporting this. Do I get it right you are using this plug-in? https://plugins.jetbrains.com/plugin/8988-allure

flotnik commented 1 year ago

https://github.com/allure-framework version 2.11.0