Title: Add property to support the restriction for the Steps length in the report · Issue #490 · allure-framework/allure-java · GitHub
Open Graph Title: Add property to support the restriction for the Steps length in the report · Issue #490 · allure-framework/allure-java
X Title: Add property to support the restriction for the Steps length in the report · Issue #490 · allure-framework/allure-java
Description: I'm submitting a ... feature request Add a property to support the restriction for the Steps length in the report, for example, `allure.max.title.length' as was in Allure 1. What is the current behavior? Property allure.max.title.length ...
Open Graph Description: I'm submitting a ... feature request Add a property to support the restriction for the Steps length in the report, for example, `allure.max.title.length' as was in Allure 1. What is the current beh...
X Description: I'm submitting a ... feature request Add a property to support the restriction for the Steps length in the report, for example, `allure.max.title.length' as was in Allure 1. What is the cur...
Opengraph URL: https://github.com/allure-framework/allure-java/issues/490
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add property to support the restriction for the Steps length in the report","articleBody":"#### I'm submitting a ... \r\n - [x] feature request\r\n\r\nAdd a property to support the restriction for the Steps length in the report, for example,\r\n`allure.max.title.length' as was in Allure 1.\r\n\r\n#### What is the current behavior?\r\nProperty `allure.max.title.length` is ignored.\r\n\r\n#### What is the expected behavior?\r\nWhen `allure.max.title.length=1000` is added in `allure.property` file, the logged steps in the Allure report should be cut after 1000 symbols.\r\n\r\n#### What is the motivation / use case for changing the behavior?\r\nSometimes, very big values are passed to methods annotated with @Step annotation, and there is no obvious way to restrict the number of characters to be printed in the report.\r\nFor example, if 'allure-assertj' is used, and the JSON objects to be compared are large, there is no way to restrict how they are displayed in the report.\r\nOn the following sample screenshot there are more than 2000 characters:\r\n\r\n and this is just about 1/3 of the whole JSON object. And all its characters are displayed in the step.\r\n\r\n#### Additional information\r\nThe issue was discussed here https://github.com/allure-framework/allure2/issues/1150\r\n\r\n| Allure version | 2.13.5 |\r\n| --- | --- |\r\n| Test framework | testng@6.9.10 |\r\n| Allure integration | allure-testng@2.13.5 |\r\n| Generate report using | allure-maven@2.9 |\r\n","author":{"url":"https://github.com/rromanik","@type":"Person","name":"rromanik"},"datePublished":"2020-11-12T16:21:38Z","url":"https://github.com/allure-framework/allure-java/issues/490"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:aea406eb-5df4-4148-009e-ba4faf0abbe5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BF1E:3D0013:2551E77:341FABD:6AFD4744 |
| html-safe-nonce | 68c77ca78b83a3491b34da66039e49c85525e247760e4402998153518988ea34 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRjFFOjNEMDAxMzoyNTUxRTc3OjM0MUZBQkQ6NkFGRDQ3NDQiLCJ2aXNpdG9yX2lkIjoiNDQ4MjQzNzkxMTk1NjIxMTg4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 64a45414f9668ab5f90d720ac3c15012c699c7373afd98830d68ba130bc2d9d6 |
| hovercard-subject-tag | issue:741737466 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/allure-framework/allure-java/490/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5212a5f6a7b26756dbdfc305a0dc971b822714beb6d4e608af0d6bd901106b26/allure-framework/allure-java/issues/490 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5212a5f6a7b26756dbdfc305a0dc971b822714beb6d4e608af0d6bd901106b26/allure-framework/allure-java/issues/490 |
| og:image:alt | I'm submitting a ... feature request Add a property to support the restriction for the Steps length in the report, for example, `allure.max.title.length' as was in Allure 1. What is the current beh... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rromanik |
| hostname | github.com |
| expected-hostname | github.com |
| None | bdbacc25b921224ff0befcb9e629560a1255be51aec9991d6e3f95b5e9151474 |
| turbo-cache-control | no-preview |
| go-import | github.com/allure-framework/allure-java git https://github.com/allure-framework/allure-java.git |
| octolytics-dimension-user_id | 5879127 |
| octolytics-dimension-user_login | allure-framework |
| octolytics-dimension-repository_id | 80822758 |
| octolytics-dimension-repository_nwo | allure-framework/allure-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 80822758 |
| octolytics-dimension-repository_network_root_nwo | allure-framework/allure-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 556dd37bb0aceffb25724e151b5d858b3265b40b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width