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

[Bug] projects/{id}/applicable_test_cases endpoint is not considering test cases that have negated PICS values (like !PICS.A.X) #320

Closed
ccruzagralopes opened this issue Jul 25, 2024 · 0 comments
Assignees
Labels
Backend Bug Something isn't working v1.5

Comments

@ccruzagralopes
Copy link
Contributor

Describe the bug

YAML test cases TC-BIND-2.1 and TC-DD-3.1 both have top-level PICS with negated values. If you add PICS files that meet these tests' requirements, TH is not selecting them because it doesn't interpret these negated PICS values correctly.

Steps to reproduce the behavior

  1. Create a new project in TH.

  2. Add PICS files with values:

    For TC-BIND-2.1:

  • BIND.C: true
  • MCORE.ROLE.CONTROLLER: true
  • MCORE.DT_SW_COMP: false
    For TC-DD-3.1:
  • MCORE.ROLE.COMMISSIONEE: true
  • MCORE.DD.NON_CONCURRENT_CONNECTION: false
  1. Create a new test run.
  2. Verify if TC-BIND-2.1 and TC-DD-3.1 have been selected by TH.

Expected behavior

Expected TC-BIND-2.1 and TC-DD-3.1 to be selected.

Log files

PICS file

PICS_Applicable_test_cases.zip

Screenshots

Screenshot 2024-07-25 at 16 19 22 Screenshot 2024-07-25 at 16 19 49 Screenshot 2024-07-25 at 16 26 01 Screenshot 2024-07-25 at 16 26 18 Screenshot 2024-07-25 at 16 26 53 Screenshot 2024-07-25 at 16 28 19 Screenshot 2024-07-25 at 16 28 51 Screenshot 2024-07-25 at 16 29 04

Environment

No response

Additional Information

No response

@ccruzagralopes ccruzagralopes added Bug Something isn't working Needs Triage and removed Needs Triage labels Jul 25, 2024
@raju-apple raju-apple added the v1.4 Issues found in 1.4 timeframe label Aug 16, 2024
@hiltonlima hiltonlima added v1.5 Backend and removed v1.4 Issues found in 1.4 timeframe labels Oct 3, 2024
@rquidute rquidute self-assigned this Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backend Bug Something isn't working v1.5
Projects
None yet
Development

No branches or pull requests

4 participants