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

Test Plan - Tag - Filter is not automatically applied #426

Closed
Prome88 opened this Issue Jul 11, 2018 · 3 comments

Comments

Projects
None yet
2 participants
@Prome88

Prome88 commented Jul 11, 2018

Description of problem

When user clicks on Tags link on Test Plan view the filter is not automatically applied.

Component (web, API, etc)

Web

Version or commit hash (if applicable)

4.2

How often reproducible

Always

Steps to Reproduce

  1. Create Test Plan
  2. Create Test Case with added Tag
  3. Open Test Plan view
  4. Click on tag link in Tags

Actual results

User has to click Filter cases manually to apply filter.

Error:

TypeError: (intermediate value).apply is not a function jquery-1.7.2.min.js:3:4764
dispatch https://kiwi/static/js/lib/jquery-1.7.2.min.js:3:4764
i https://kiwi.static/js/lib/jquery-1.7.2.min.js:3:692

Expected results

Filter is automatically applied.

@atodorov

This comment has been minimized.

Show comment
Hide comment
@atodorov

atodorov Jul 11, 2018

Member

Can you post some screenshots b/c I don't understand what you are doing and where the problem is.

Member

atodorov commented Jul 11, 2018

Can you post some screenshots b/c I don't understand what you are doing and where the problem is.

@Prome88

This comment has been minimized.

Show comment
Hide comment
@Prome88

Prome88 Jul 12, 2018

image

One would expect that using one tag would also automatically set the filter and not just copy the tag text into Tag: filter input field.

Prome88 commented Jul 12, 2018

image

One would expect that using one tag would also automatically set the filter and not just copy the tag text into Tag: filter input field.

@atodorov

This comment has been minimized.

Show comment
Hide comment
@atodorov

atodorov Jul 12, 2018

Member

Ok, so the problem is that when you click the tag hyperlink the filter is not applied automatically.

Member

atodorov commented Jul 12, 2018

Ok, so the problem is that when you click the tag hyperlink the filter is not applied automatically.

@atodorov atodorov added the bug label Jul 12, 2018

atodorov added a commit that referenced this issue Sep 2, 2018

Submit filter form when clicking on tag value. Fix #426
NOTE: in TestPlan page, Cases tab, when clicking on a "tag"
it will automatically update the filter criteria and submit the
filtering form which will refresh the tab with new values.

This will also update the list of available tags to the
currently chosen one, b/c this list is calculated *after*
test cases are filtered (which depends also on the selected tag)!

@atodorov atodorov closed this in 9aa6678 Sep 3, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment