mclay / azure-pipeline-allure-report

Other
5 stars 4 forks source link

videos and downloading the attached zips doesn't seem to work #2

Open josromber opened 1 year ago

josromber commented 1 year ago

Hi @mclay,

I am using the Allure Report Viewer plugin as described in the documentation and I am having trouble viewing the videos when some test fails.

I generate the allure reports in a folder called "allure-report" and at the end of the pipeline I use the task defined for the plugin:

  - task: PublishAllureReport@1
    displayName: 'Publish Allure Report'
    condition: always()
    inputs:
        reportDir: './allure-report'

Reports are generated correctly, but when a test fails, the video associated with the test does not seem to load:

allureError

My question is, Is the visibility of the video supported in the browser?

In the logs when publishing the reports I can see how the "inline" of the video is done:

image

But in the code it doesn't seem to decode the tags of type video:

index.ts

On the other hand, I would also like to comment that the download of the attached files of the reports does not seem to work. When I try to download I get the next Error:

"the file was not available on the site"

Could you help me please?

Thank you very much and good job for the plugin :)

Devstored commented 11 months ago

Hi @mclay , I have exactly the same problem. For images it is ok but videos are not played. CleanShot 2023-12-22 at 15 24 10

@josromber Did you find a solution?

josromber commented 10 months ago

Hi @Devstored

I did not find any solution, sorry!