Testing / code covering toggled table columns
Hi all,
We use feature tests for all Filament behaviour and we intend to have full 100% code coverage. This works fine in most cases, but I can't seem to cover the
state()
callback of a tableColumn that is toggleable()->toggledHiddenByDefault()
. I see various methods to manipulate tables during your tests, such as filtering, but I can't seem to find a way to toggle columns so they are shown and thus the state()
callback is called?
0 Replies