allure-framework / allure-teamcity

Teamcity CI plugin allowing to generate Allure Report as build artifact
https://qameta.io/allure-report
Apache License 2.0
37 stars 29 forks source link

Allure Attachments are downloaded to disk instead of being displayed in Team City #43

Closed metaum closed 8 years ago

metaum commented 8 years ago

I am using the latest version Allure Report 1.4.24.RC3 and use TeamCity 10. What could be the problem?

baev commented 8 years ago

Hi! Thanks for the report. Could you please give a little bit more information about the problem?

metaum commented 8 years ago

Hi! To failed tests are attached screenshots and by clicking on the screenshots it is loaded onto my computer as a regular file, and does not appear in the browser as usual. For example : Should be ( if I run report local with jetty) http://prntscr.com/bz5gv7

But in TeamCity I see this http://prntscr.com/bz5hws (if I click on "Page screenshot" it just download on my local disk)

baev commented 8 years ago

As far as I can see the problem with your attachment type. Images have file-image-o icon.

metaum commented 8 years ago

Hm, I use "image/png" type, nothing special

metaum commented 8 years ago

Sorry, reason was my carelessness :) I used "images/png" instead of "image/png" in attachment type. Thanks!