Power-Components / livewire-powergrid

⚡ PowerGrid generates modern, powerful and easy-to-customize data tables using Laravel Livewire.
https://livewire-powergrid.com
MIT License
1.52k stars 223 forks source link

[6.x] Add Testing assertions for actions (javascript render) #1701

Closed luanfreitasdev closed 2 months ago

luanfreitasdev commented 2 months ago

Since the actions are not rendered with PHP but with JavaScript, it isn't easy to test the complete flow, but we can ensure that the data that is being expected in PowerGrid remains intact with some assertions.

Example: