-
Notifications
You must be signed in to change notification settings - Fork 99
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
HTML5 Report: Accumulate tags #80
Comments
Regarding the AND case you can currently use the search for that, because it will search for all occurrences. The OR case is not possible yet. It could be solved using an improved client-side search engine (see #53). |
Regarding the AND case, the search feature is incomplete. Will this use case be solved using an improved client-side search engine? |
Are you sure? For example, if I search for 'Tags JUnit' I only get scenarios which have 'Tags' and 'JUnit': |
Ok, I got it!
If I search for 'Customer Account Management Listed', it also returns the scenarios with 'Account Administration' tag. |
Ok. I see :-) |
Created #82 for searching for words with whitespace |
Do you think this issue can be closed now with the introduction of filtering by tags? |
Intrinsically, the filtering by tags feature resolves this issue. Let's try with the JGiven documentation: http://jgiven.org/jgiven-report/html5/#/tag/Feature/JUnit |
Mmh. For me it works as (I) expected. Could you explain in more detail what is wrong? |
Let's say I'm looking at the JUnit feature: http://jgiven.org/jgiven-report/html5/#/tag/Feature/JUnit It looks like a refresh issue but seems to appears randomly. |
Ok. That is strange and should not happen ;-). Which browser are you using? |
I'm using Chrome version 38.0.2125.104 |
With Chrome 43.0.2357.125 on Linux, I cannot reproduce it. Could you please test it in another browser to see whether this is browser-specific? And could you take a screenshot of the wrong page? |
Ok. Beside the fact that the layout is not that good, because of the smaller window size (that should be fixed) this is what I also see :-). Maybe we have a different understanding of what should be shown. The point is that the selection of tags is actually an 'or' relation and not an 'and' relation. Thus if you select 'Tags' and 'TestNG' you will see all scenarios that have either the 'Tags' tag or the 'TestNG' tag or both. But I see that this might be confusing. Do you think it would make more sense to have an 'and' relation? |
Actually I must admit that I wanted to follow the GitHub behavior when using labels. Somehow I thought that this was an or-relation, but actually it is an and-relation. So I guess using an and-relation is more intuitive. |
I was expecting an and-relation but I have to admit that using the or one is also a valid scenario. |
Ok. I will have to think about that :-) |
For now I decided to change the or to an and-relation, because it is typically the case that you want to narrow down the number of scenarios. The change will be in v0.8.0. |
Nice! Thanks. |
@janschaefer What is the status of this? It almost sounds like this has been "fixed", but there's no linked commits or information on what else would have to be done. |
Maybe I really forgot to close this issue :-). @clementheliou do you think we can close this? |
@janschaefer Yes, you can. |
Great thx! |
Currently, we can select scenarios related to one given tag by clicking on it.
But we're not able to select scenarios related to a selection of tags.
Let's say we have these tags:
If I filter scenarios by one of these tags, I do not have the ones I'm looking for.
A possible solution would be the accumulation of tags:
Customer AND Account AND Listed
.We could also think about a more flexible mechanism language:
Customer AND (Account OR Listed)
.The text was updated successfully, but these errors were encountered: