PhpUnit Test for Twill Blocks/Modules?
Can we write PhpUnit test for Twill Blocks and Modules?
PB
Patrick Boivin•332d ago
Hi @geetpurwar , I have an example of module/capsule tests here :
https://github.com/pboivin/twill-form-templates/blob/main/tests/Feature/
It's probably a bit weird because I'm testing for Twill 2.x and 3.x with the same test suite but should be simple to follow.
G
geetpurwar•328d ago
Thanks for update @pboivin
This should help. Is it alright if I get back with follow up questions.
1.4KMembers
View on DiscordWant results from more Discord servers?
More PostsBlockComponent blocks are not available in BlockEditorI created blocks using `php artisan twill:make:componentBlock name` as per documentation, but none oSlows down the page after saving the @formConnectedFields fieldGood afternoon
I have several roles to which I want to attach the ability to select certain actionsChecked checkboxes by defaultGood afternoon (morning)! I use the Multiple Checkboxes field
How can I make certain fields checkedDefine Settings-Views inside a package>capsuleIs there a way to configure a settings related view inside a package capsule? I couldn't find somethDatePicker not updating or incorrectly updating fieldHaving a weird issue with the DatePicker field which seems to have popped up in the last few weeks ofileparams in ModelIs there any documentation on fileparams. For instance how to add file types parameter to it