Why Test Repository path is not visible in Filter query?

Divya Khole
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 2, 2019

Hi There,

I am trying to filter my queries using Xray Test Repository but its not coming up while search.What could be the reason?

2 answers

2 votes
Quang Le
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 17, 2020

Maybe it's a bit late, but you can search using XRay specified query

issue in testRepositoryFolderTests("<PROJECTKEY>", '<DIR>') 
Guru
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 26, 2021

Thanks, Its working for single folder, Searched with multiple folders is not working.

issue in testRepositoryFolderTests("XPOS", 'Legacy') AND issue in testRepositoryFolderTests("XPOS", 'Bag Fee')

Like vasanth likes this
Sebastian
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 20, 2021

your query would only return a test if it is present in both folders. is that what you are looking for? replacing AND with OR would return all tests that are in either one of these folders.

Rajesh.Sundaresan April 19, 2022

I tried this and it's not working. Here is my screen print. 

Untitled.png

rohan_nirola May 31, 2023

I also tried the same query and it is not working. I am getting same error

Christian Hintz
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 24, 2023

Hi, maybe it is a bit late, but for me the following worked with folder and subfolders

issue in testRepositoryFolderTests(<PROJECTKEY>, "<Directory>", "true") 

Like vasanth likes this
0 votes
Philipp Fregolao Kreuscher
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 6, 2023

Hi,

I have not found any query for that. :(

Regards,

Suggest an answer

Log in or Sign up to answer