Attachments downloads instead of opening in a new tab #2141
Replies: 2 comments 7 replies
-
The behaviour changed due to single file mode support. For single-file reports, the only way to open attachments in the new tab is to use data links. And since all the browsers have limits for URL size, we decided to drop this feature (at least for now). We aim to enable single-file mode by default for all users in future releases. Considering this, we prefer to avoid introducing any feature difference between classic & single-file modes. However, we are open to hearing your feedback! |
Beta Was this translation helpful? Give feedback.
-
I've noticed another problem with single-file report. Please take a look at our case. We have a report from weekend tests (100h, 25k test-cases). It contains a lot of test cases. Directory allure-results weighs 1G. When I generate a normal report, it works fast in browser. But when I generate a report in single-file mode and try to open using option "allure open" chrome hangs and finally tab crashes. File index.html weighs 1.5G. |
Beta Was this translation helpful? Give feedback.
-
Describe the Bug
After update allure from 2.23.1 to 2.24.0 changed behaviour opening attachments in report. When click to open attachment in new tab, download window opens.
Steps to Reproduce
allure serve target/allure-results
Expected Behaviour
Attachment opens in new tab
Screenshots or Additional Context
What Language are you using?
Java
What Framework/Allure Integration you are using?
allure-junit5
What version of Allure Integration you are using?
2.24.0
What version of Allure Report you are using?
2.24.0
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions