-
Notifications
You must be signed in to change notification settings - Fork 607
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
Metadata for scenario added for json report #1368
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this PR. I don't think this is something I would want to add to the code base -- but it looks very interesting-- it would probably be more useful to others as a blog post if you can show more about how you will use the metadata in your project. If you create a post I am happy to add the link to the readme doc. Cheers!
docker/Dockerfile
Outdated
@@ -9,7 +9,7 @@ ENV \ | |||
RUN apt-get update && \ | |||
apt-get install -y git sudo software-properties-common | |||
|
|||
RUN sudo npm install -g --unsafe-perm=true --allow-root backstopjs@${BACKSTOPJS_VERSION} | |||
RUN sudo npm install -g --unsafe-perm=true --allow-root https://github.com/justyna-olszak-wttech/BackstopJS.git |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately we want to stay away from loading private libraries like this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I was pretty sure it will not meet acceptance, but this was necessary to make fork use my code within Docker build.
Therefore I'll stay with this fork trying to pass JIRA ids to XRay reporting.
90c803c
to
e914db8
Compare
Details for Xray format
ed86a6b
to
99ae921
Compare
99ae921
to
dbf9a7a
Compare
d952471
to
0649e32
Compare
c811411
to
59f1cfe
Compare
59f1cfe
to
14aaf23
Compare
Project I use BackstopJS in required an option to pass some metadata for each scenario into the final JSON output, to be used by other monitoring tools. The solution is covered in this fork.
Such use case is for example JIRA ticket number. It allows to have additonal information next to tested pair for easier project maintenance and stories reference.
I believe it is valuable addiont, that can be used also by other teams. @garris