2

In Allure 2 documentation it's stated that defects may be categorized. Artem Eroshenko in his Allure 2 presentation also mentioned that for this purpose categories.json config file should be created with regex for categories:

[
  {
    "name": "Outdated selectors",
    "messageRegex": ".*Unable to locate element.*",
    "matchedStatuses": ["broken"]
  },
  {
    "name": "Browser cluster problems",
    "messageRegex": ".*Timed out .* from renderer.*",
    "matchedStatuses": ["broken"]
  }
]

But there are no details in the docs about actual implementation of this feature. Where is this file should be located? Is this feature implemented in py.test allure 2 adaptor?

1 Answer 1

1

You need to place categories.json file to allure-results folder. For more details see other answer https://stackoverflow.com/a/46222758/3915166

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.