joechastain
09/19/2022, 11:46 AMgetRequestContext().setValue( "employeeName", "Joseph Chastain" );
before the execute
call. I know I can get the rendered results page and check for various things with expect( event.getRenderedContent() ).toInclude( "whatever" );
But I'm hoping I can get specific values that are calculated in the handler. It looks like I can do this if I stored them in the PRC scope with event.getPrivateCollection()
but I don't typically use the PRC scope. I pass the values to the results view via the args
param in the event.setView()
call in the handler. Is there a way to get the values in the args param in the test? Or do I need to start using the PRC scope if I want to do this? I checked the docs but, if there is anything, I didn't see it. Appreciate any insights on this. Thanks.joechastain
09/19/2022, 6:43 PMseancorfield
seancorfield
setView()
so all my observable data was in the rc
directly (I never used prc
).joechastain
09/20/2022, 11:28 AM