Skip to content

Encoding failure of the "ENVIRONMENT" section #1244

@AlexanderGrigoryev

Description

@AlexanderGrigoryev

Describe the bug

before generateing report
image

after generating report
image

Russian words are displayed incorrectly after generatin report. The order of the key=value pairs not corresponds to the order in the file environment.properties

To Reproduce

  1. create new file environment.properties with utf-8 encoding
  2. fill some keys and values with russian words and save file
    image
  3. generate some test results and put environment.properties in the results folder
    image
  4. do generate report with command line: ...\bin\allure generate -c -o report-folder results-folder
  5. open report with command line ...\bin\allure open report-folder
  6. pay attention to the "ENVIRONMENT" section:
    image
    ........6.1 pay attention to the encoding of russian words
    ........6.2 note the order of values in the "ENVIRONMENT" section

Expected behavior
6.1 russian words are displayed correctly
6.2 the order of the key=value pairs corresponds to the order in the file environment.properties


Allure version 2.13.0
Test framework image

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions