I know how to call specific scenario from another feature file and pass parameters along. But is there a way I can do it while checking for condition using 'if'? For instance:
* if (role=="SME"||role=="BA") karate.call('classpath:rough/utility.feature@checkDisabled'){element: #(elem)}
If this is the wrong implementation as what I get from the console. Please suggest me a way how can i achieve this in karate?
Thanks