I would like to have a test case list containing only enabled test cases in the tear down script. I tried below code. however it return all the test cases including the disabled ones.
project.getTestSuiteList().each {
it.getTestCaseList().each { tcList ->
tcList.each {
log.info it.properties
}