Skip to content
Discussion options

You must be logged in to vote

The workaround is to programmatically create an Allure step.
In this case secrets will not be revealed in the result.json file.

   @Test
   public void testAllure() {
       Allure.step("log in to the system",
               () -> logIn("login", "secretPassword"));
   }

   public void logIn(String login, String password) {
       // log in
   }

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by shik35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant