Test anonymous action in forms
Hey, I'm writing feature tests in my panel tho I have a problem. I can't seem to find a way to test actions in the component "Actions".
I tried multiple things:
- try every keys possible (Actions component key, "data.actionNameAction" as it is the key of the component, "actionName")
- try to mount the action (no errors) then to call mounted actions (errored)
- call action directly in test without using the form methods
Everytime I get "call to a member function getKey() on null". I can't seem to figure what component I should call or even if I should call one.
Thx for any help!
0 Replies