allure-framework / allure-framework/allure2

The variable "projectName" in the test report does not support Chinese characters and The sorting is chaotic.

Open
#2,613 0 comments 0 reactions 0 assignees View on GitHub
triage
Dominant language
HTML
Stars
5.5k
Forks
782
Avg merge
2d 33m
Merged PRs (30d)
16

Description

### Describe the Bug

1、Set projectName='Chinese content' in environment.properties, and it appears as ??? after generating the report.
![PixPin_2024-06-28_17-33-31](https://github.com/allure-framework/allure2/assets/39303693/a4c922b5-9d81-45e9-b59b-ad6130e6068b)
2、There is also an issue with sorting; after generating the report, the order in the test steps is unsorted and requires manual clicking on "order" to display correctly.
![PixPin_2024-06-28_17-35-25](https://github.com/allure-framework/allure2/assets/39303693/66758a98-628d-483e-9929-792dda7d70ce)

### Steps to Reproduce

none

### Expected Behaviour

1、It can support display in Chinese.
2、I hope the sorting defaults to ascending order.

### Screenshots or Additional Context

none

### What Language are you using?

python

### What Framework/Allure Integration you are using?

allure-pytest

### What version of Allure Integration you are using?

2.27.0

### What version of Allure Report you are using?

2.27.0

### Code of Conduct

- [X] I agree to follow this project's Code of Conduct

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the report with environment.properties, projectName containing Chinese characters, and allure-pytest 2.27.0. Inspect the generated report for the project-name encoding and test-step ordering; done when Chinese text renders correctly and ascending order is the default.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
internationalization, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.