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
- 10d 4h
- PRs com merge (30d)
- 1
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á 42 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
-
Component: Frontend Component: Web Component Type: Maintenance
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
it-at-m/refarch-templates#1944 ·
Mantenedores costumam responder em até 2 dias
-
priority: p2 type: bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
googleapis/java-genai#1372 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 60/100
-
GeoSeries scale and skew tests fail with pytest 9.2.0Talvez já em andamento @jiayuasu assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
Mantenedores costumam responder em até 1 dia
-
priority: medium Review effort [1-5]: 3 status: needs-triage type: bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
carlos-emr/carlos#5431 ·
Mantenedores costumam responder em até 1 dia