klov icon indicating copy to clipboard operation
klov copied to clipboard

KLOV UI unable to load some test history

Open ammmze opened this issue 4 years ago • 1 comments

I've got some tests that have parameters and are named something like RandomTests.testWithParams{USPS_REGULAR,USA}.

When trying to load up that given test history, I get an infinite spinner and a 400 Bad Request from the klov api. The reason for this is that the browser is not url encoding the test name. So it makes a request like:

http://localhost:8064/api/projects/DevNotificationSuite/tests?name=RandomTests.testWithParams{USPS_REGULAR,USA}&size=10&sort=startTime,desc&page=0

But really should be making that request like this

http://localhost:8064/api/projects/DevNotificationSuite/tests?name=RandomTests.testWithParams%7BUSPS_REGULAR%2CUSA%7D&size=10&sort=startTime,desc&page=0

ammmze avatar May 21 '21 18:05 ammmze

Same issue with me as well. Not able to see step-wise report for a test case.

prabhudatta22 avatar Jun 14 '21 08:06 prabhudatta22