certification-tool icon indicating copy to clipboard operation
certification-tool copied to clipboard

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

Open ccruzagralopes opened this issue 1 year ago • 0 comments

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 avatar Jul 25 '24 19:07 ccruzagralopes