Expression[T] as function parameters in 'actions', compilation errors

Hello,

I am struggling with using a domain model in my tests and subsequently using that using expressions. Okay I’m pretty sure that sentence doesn’t make this clear, but in general it’s to avoid having a gazillion attributes in my session such as ${productName}, ${productUuid}, ${productSomethingElse}, ${prodcutEtc} in favor of just having a ${product} which is case class with all those attributes.

Slightly bigger example is like this:

`