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

feat: resultProcessor #117

Merged
merged 1 commit into from
Oct 1, 2024
Merged

feat: resultProcessor #117

merged 1 commit into from
Oct 1, 2024

Conversation

axules
Copy link
Contributor

@axules axules commented Sep 30, 2024

Add resultProcessor to plugin config. It has to be a function, which will be called for each result, just before sending result to testrail.

It is needed to provide possibility to customize result object before sending it to testrail. To resolve this:
testrail required custom field error

package.json Outdated Show resolved Hide resolved
test/acceptance_test.js Outdated Show resolved Hide resolved
readme.md Outdated Show resolved Hide resolved
@kobenguyent
Copy link
Owner

many thanks @axules for updating! btw, I just pushed some changes, would you mind fixing the conflicts?

refactor: add links to Testrail doc to clarify custom fields config

refactor: wrap text into anchor element

refactor: add anchor to readme

refactor: after code review

fix: test title

Co-authored-by: kobenguyent <[email protected]>

feat: tests

feat: use resultProcessor result for testrail

chore: readme.md

feat: add resultProcessor

chore: get rid of unused deps

Co-authored-by: Denis Shelest <[email protected]>
@axules axules reopened this Oct 1, 2024
@axules
Copy link
Contributor Author

axules commented Oct 1, 2024

@kobenguyent It has to be fine.

@kobenguyent
Copy link
Owner

@kobenguyent It has to be fine. I did not change any workflow, but looks like rebase-forcepush initiates this message (for me it looks like github bug): image

image

aha, as we have actually 2 workflows, but only one workflow would be triggered on PRs.

@kobenguyent kobenguyent merged commit db055bb into kobenguyent:master Oct 1, 2024
2 checks passed
@kobenguyent
Copy link
Owner

Thanks @axules!

Copy link

github-actions bot commented Oct 1, 2024

🎉 This PR is included in version 1.12.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants