@ -1,6 +1,7 @@
<label
*ngFor="let option of options"
[ngClass]="{ 'button': true, 'form--field-inline-button': true, '-active': value === option.value }"
data-qa-selector="spot-toggle--option"
>
<input
class="spot-toggle--option-input"
@ -61,7 +61,7 @@ module Components
def set_filter_selected(filter)
within_body do
page.find("label.spot-toggle--option", text: filter ? 'Only selected' : 'All projects').click
page.find("[data-qa-selector='spot-toggle--option']", text: filter ? 'Only selected' : 'All projects').click
end