[Testing] How to mount a table header action and make sure that the event was dispatched?
Im testing my application and currently testing a relation manager, but I'm having problems testing a table header action that creates a new record for that relation manager. It says that the event wasn't fired.
until the mountAction('create') the test run's fine but it then says it failed to assert that the event 'open-modal' was fired. Is there a way to test table header actions?
1 Reply
Can't you just test if you can create a record through the relation manager?