Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notifications: Handle a failure without a failure message #215

Conversation

mnoorenberghe
Copy link
Contributor

The message attribute of <failure> is optional and some tools print the message in the textContent. We shouldn't output undefined if it's not present.

See test-results-reporter/parser#73 for the root issue

src/targets/slack.js Outdated Show resolved Hide resolved
The message attribute of `<failure>` is optional and some tools print the message in the textContent. We shouldn't output `undefined` if it's not present.

See test-results-reporter/parser#73 for the root issue
@mnoorenberghe mnoorenberghe force-pushed the slack_notification_undefined_error branch from c01b416 to 9e1fc65 Compare July 11, 2024 13:21
@mnoorenberghe mnoorenberghe changed the title Slack: Handle a failure without a failure message Notifications: Handle a failure without a failure message Jul 11, 2024
@ASaiAnudeep ASaiAnudeep merged commit c0a1bb9 into test-results-reporter:main Jul 11, 2024
0 of 3 checks passed
@mnoorenberghe
Copy link
Contributor Author

@ASaiAnudeep Is there any chance of making a release today with my two PRs?

@ASaiAnudeep
Copy link
Member

I will release it this weekend with other changes.

@ASaiAnudeep
Copy link
Member

@mnoorenberghe thank you for your contributions. Your changes are part of release v2.0.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants