Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Single file report with history #2740

Open
1 task done
pulkomandy opened this issue Sep 23, 2024 · 3 comments
Open
1 task done

Single file report with history #2740

pulkomandy opened this issue Sep 23, 2024 · 3 comments
Labels
type:new feature Change that add something new for end users

Comments

@pulkomandy
Copy link

Describe the Bug

Hello,

We upgraded to the latest version of Allure and tried to enable the new single file report feature.

Unfortunately, while the report works fine, it doesn't generate the "history" directory. As a result, it's not possible to accumulate results from previous runs while using single file reports, unless we also generate a multi file one to get the history directory.

Did we miss something here? Is it possible to get history in single file reports?

Steps to Reproduce

  1. Collect some test data
  2. Generate single file report
  3. Collect more test data
  4. Generate new version of single file report
  5. History from the previous report is not included

Expected Behaviour

Single file reports should still generate the history data (optionally) so that it's possible to generate single file reports with history.

Screenshots or Additional Context

(please disregard the "what language are you using" question reply, I cannot submit the issue without checking something, and Python and Robot Framework are not in the list)

What Language are you using?

Android (Kotlin), C#, Go, Java, JavaScript, Kotlin, PHP, Ruby, TypeScript

What Framework/Allure Integration you are using?

allure-robotframework

What version of Allure Integration you are using?

2.13.5

What version of Allure Report you are using?

2.30.0

Code of Conduct

  • I agree to follow this project's Code of Conduct
@pulkomandy pulkomandy added triage type:bug Something isn't working labels Sep 23, 2024
@baev
Copy link
Member

baev commented Sep 23, 2024

Do you have any ideas on how this should be implemented, by chance? Do you expect Allure to generate a history folder together with index.html for the single file mode?

@pulkomandy
Copy link
Author

I think that would work for us.

Another option would be to extract the history info from the single file index.html, but that seems more complex to do.

For now we will continue using multiple file reports. That's fine for us, but at least the documentation should mention this limitation then.

@baev baev added type:new feature Change that add something new for end users and removed type:bug Something isn't working triage labels Oct 2, 2024
@wernerthiago
Copy link

Is there any workaround to solve it temporarily?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:new feature Change that add something new for end users
Projects
None yet
Development

No branches or pull requests

3 participants