Don't show tag "allowed to fail" when the job was successful
requested to merge 198052-in-the-jobs-page-the-allowed-to-fail-badge-looks-like-an-error into master
What does this MR do?
We don't want to display the tag "allowed to fail" on a job that has succeeded since it can lead to confusion as to whether or not it has failed. This MR will make sure that a job in the success state does not have that tag shown.
Screenshots
Does this MR meet the acceptance criteria?
Conformity
-
Changelog entry -
Documentation (if required) -
Code review guidelines -
Merge request performance guidelines -
Style guides -
Database guides -
Separation of EE specific content
Availability and Testing
The risk would be that the tag doesn't show up when it should.
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process. -
Tested in all supported browsers -
Informed Infrastructure department of a default or new setting change, if applicable per definition of done
Closes #198052 (closed)
Edited by Yorick Peterse