Hello, I have a question I have some test and am using a csv file to provide data, this csv has a colum called category I want some test to run only when the data has the category user
this is what I have in the test:
if(data.test_type == "happy_path" & data.category == "user")
pm.test("Status code is 200", function () {
pm.response.to.have.status(200);
});
else if(data.test_type == "unhappy_path" & data.category == "user")
pm.test("Status code is 422", function () {
pm.response.to.have.status(422);
});
the tests work the way they are supposed to work when I use the runner but when the data doesn’t have the category user there is just a blank space like this
the test are working but is there a way to not show “This request does not have any test” every time uno row of the csv doesn’t have the category user? because there is a lot of empy tests