forcedotcom / devops-center-feedback

61 stars 2 forks source link

Cannot see details of test failures #225

Closed jawills closed 8 months ago

jawills commented 1 year ago

Describe the bug In a deployment error details, the test failure count is shown, but not any details about the tests that failed To Reproduce Steps to reproduce the behavior:

  1. Create a Work Item Bundle that will not pass tests in production
  2. Push bundle to production
  3. Click on 'View Details' in the promotion failed section
  4. Click on View Errors ...

Expected behavior When the errors are given for a work item bundle, a user should see the names of the tests that failed, along with the failure reason

geomuck commented 1 year ago

For sure, and thanks for your comment! The test failure output can get REALLY lengthy, and we made the decision to simply specify that there were test failures, and how many.

We encourage users to go look at the Apex test results in the org-in-question, and one can open that org easily from the DevOps Center.

That said, a reasonable enhancement might be for the DevOps Center to provide a link to the detailed test failures in the org, within the error message? We'd love to hear your input as well @jawills !

jawills commented 1 year ago

I think that a link to the test output is more than sufficient. I would not want to debug test classes in the small modal.

git2gus[bot] commented 1 year ago

This issue has been linked to a new work item: W-11995812