Skip to content

allure Reports #69

Closed Answered by mmisty
mariamaslam asked this question in Q&A
Nov 6, 2023 · 3 comments · 2 replies
Discussion options

You must be logged in to vote

Hi @mariamaslam
You have two different questions
I'll answer second one for now

  • Environment in Allure report is everything you have in environment.properties file. So if you don't want to see env variables in it - do not write them into this file. Writing is done by reporter?.writeEnvironmentInfo. Example:
        on('before:run', details => {
           reporter?.writeEnvironmentInfo({
              info: {
                 os: details.system.osName,
                 osVersion: details.system.osVersion,
              },
           });
        });

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by mmisty
Comment options

You must be logged in to vote
2 replies
@mmisty
Comment options

@mariamaslam
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants