F
Filament2w 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
only assertSee assertSeeHtml I guess..
CGM
CGM2w 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