how to test a view modal action?
Hello Folks,
i'm testing my Laravel Filament application and i want to test if guests can access a view which opens via a modal.
i want to test if a guest or people without permission can access the view modal as Action. i have allready a test to check if the table gets rendered and showed. that is forbidden and redirects, that works. but i would like to test if someone could open only a action and i don't know right how to test a modal action that only works for a administrator.
my code at this time :
someone a idea ?
i'm testing my Laravel Filament application and i want to test if guests can access a view which opens via a modal.
i want to test if a guest or people without permission can access the view modal as Action. i have allready a test to check if the table gets rendered and showed. that is forbidden and redirects, that works. but i would like to test if someone could open only a action and i don't know right how to test a modal action that only works for a administrator.
my code at this time :
someone a idea ?