Is it possible to check a mat-checkbox
in a Cypress test based on it's label text?
Below is the HTML for the checkbox:
I have several checkboxes to test, so I want to re-use code to do something like - When I check the 'Advanced search' checkbox, When I check the 'Basic search' checkbox, etc.
Aucun commentaire:
Enregistrer un commentaire