F
Filament5mo ago
CGM

Testing select list values

Is there a way, other than looking for strings in HTML, to test if a specific value is visible or not visible in a form fields select list?
2 Replies
LeandroFerreira
LeandroFerreira5mo ago
only assertSee assertSeeHtml I guess..
CGM
CGMOP5mo ago
I think you are right. I'm going to take the route of creating a custom Rule/Validation to test against as I think that is ultimately a better way to validate the field. I'll feel better about using assertSee and assertSeeHtml, which I believe to be more brittle, once I know the data must be correct at least. Thank you @LeandroFerreira
Want results from more Discord servers?
Add your server