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
wdio-allure-reporter: add tags cucumber support for scenario #4819
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4819 +/- ##
==========================================
+ Coverage 99.42% 99.42% +<.01%
==========================================
Files 210 210
Lines 5425 5435 +10
Branches 1185 1187 +2
==========================================
+ Hits 5394 5404 +10
Misses 28 28
Partials 3 3
Continue to review full report at Codecov.
|
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.
Can we have tests for it?
Yes I can. I will add tests today or tomorrow. |
tests added |
…est(for cucumber suite=scenario and test=step)
In the latest commit, I took into account @CrispusDH's remarks and moved the code to the "suite" level instead of "test" level. I realized that for cucumber , suite = scenario and test = step. (The labels were added at each steps instead of at each tests) |
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.
Just one additional comment to fix. Also I'm not understand about suite
and test
. You use getLabel
with suite
but in other places use test.tags
...
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.
LGTM 👍
thanks for reviewing @CrispusDH
Proposed changes
Fixed #4815
Types of changes
Checklist
Further comments
Reviewers: @webdriverio/technical-committee