Add property to support the restriction for the Steps length in the report
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 45/100
- Tipo de issue
- Funcionalidade
- Clareza
- Razoavelmente clara
- Status de atividade
- Estagnada
- Stack de tecnologia
- java
- Domínio
- testing-qa
Direção de pesquisa
Comece localizando como a propriedade allure.max.title.length e os valores de @Step são tratados quando as etapas do relatório são geradas. Implemente o limite solicitado para que o texto da etapa registrada seja cortado no número configurado de caracteres e, em seguida, verifique se um valor como 1000 altera a saída do relatório gerado.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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 is ignored.
What is the expected behavior?
When allure.max.title.length=1000 is added in allure.property file, the logged steps in the Allure report should be cut after 1000 symbols.
What is the motivation / use case for changing the behavior?
Sometimes, 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.
For 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.
On the following sample screenshot there are more than 2000 characters:

and this is just about 1/3 of the whole JSON object. And all its characters are displayed in the step.
Additional information
The issue was discussed here https://github.com/allure-framework/allure2/issues/1150
| Allure version | 2.13.5 |
|---|---|
| Test framework | [email protected] |
| Allure integration | [email protected] |
| Generate report using | [email protected] |
- Linguagem predominante
- Java
- Estrelas
- 390
- Forks
- 244
- Merge médio
- 5d 2h
- PRs com merge (30d)
- 2
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de allure-framework/allure-java
-
AllureSelenide should use Selenide's screenshot implementation instead of Selenium WebDriver's implementationTalvez já em andamento @USSQA assumiu há 46 dias. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 85/100
allure-framework/allure-java#1439 ·
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 50/100
allure-framework/allure-java#1456 · 1 reação ·
-
AllureSelenide attaches Screenshot and Page source once per nesting level of SelenideLogger.stepAberta
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 25/100
allure-framework/allure-java#1453 · 1 reação ·
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 42/100
allure-framework/allure-java#1452 ·
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 45/100
allure-framework/allure-java#1451 · 1 comentário ·
Todas as issues de allure-framework/allure-java
Issues semelhantes
-
BindingServiceProperties.bindings regressed to a non-thread-safe TreeMap in GH-3158: concurrent first use of binding names corrupts itTalvez já em andamento @AkashB23 assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
spring-cloud/spring-cloud-stream#3321 ·
Mantenedores costumam responder em até 1 dia
-
[Bug] 资源包列表 与 模组/数据包/世界 列表排列顺序不一致Talvez já em andamento @fishdry1000 assumiu há 4 dias. Abertabug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
Mantenedores costumam responder em até 1 dia
-
ai-driven-fuzzing bug claude Minor
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
linagora/twake-calendar-side-service#1333 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
AtlasOfLivingAustralia/species-lists#882 ·
Mantenedores costumam responder em até 1 dia
-
Type/Bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
ballerina-platform/ballerina-library#9458 ·
Mantenedores costumam responder em até 1 dia