Bug Reporting Jira

Learn to create automatically bugs in Jira on test failure.

What Is Automatic Bug Reporting?

The automatic bug reporting is a BELLATRIX feature that will create a bug automatically in various bug tracking software if some of your tests fail. The plugin will populate the description, attach a screenshot, video of the test. Moreover, it will generate human-readable steps to reproduce.

Bellatrix

Bellatrix

Configuration

When you turn on the feature and will assign listeners to common actions in the framework that will populate the auto-generated test case’s steps and expected results. In the testFrameworkSettings.json file you need to enable the integration.

"bugReportingSettings": {
  "isEnabled": "false" 
},
"jiraReportingSettings": {
"isEnabled": "true",
"url": "yourServerUrl",
"token": "authenticationToken",
"projectName": "projectName",
"defaultPriority": "Medium"
},

You can read the the following article how to generate an authentication token.

NOTE: Be sure to enable this feature only in Release and for test projects that contain stable tests because otherwise, it can create a lot of bugs based on your flaky tests.