Code:
val someVariableIWantToSave //I do not know what to do here
When("""^this request is sent to the XYZ service:$"""){ (requestData:DataTable) =>
//// we might want to do somethign else with Datatable in the mapping of the feature, nothing yet
var someVariableIWantToSave = requestData.asMaps()
}
I mean the asMaps method returns a List[Map[String,String]] type and I want to save it to the someVariableIWantToSave val so I can use it in other steps, but I am not sure what to initialize it to and how to map it properly without a lot of code noise.