I need to retrieve a selector from HTML with a space on it.
<mat-radio-button
*ngFor="let element of data"
[attr.data-test]="'radio-buttons-' + element.value">
</mat-radio-button>
element.value got the value of "My pictures"
Cypress cannot find the selector "radio-buttons-my pictures" and do the click.
cy.getBySelector('radio-buttons-My pictures').click();