mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-03-27 02:51:18 -04:00
Fix aria label
This commit is contained in:
@@ -112,11 +112,11 @@ export class SignUpPage {
|
||||
this.minAgeOption = page.getByTestId('pref-age-min')
|
||||
this.maxAgeOption = page.getByTestId('pref-age-max')
|
||||
this.currentNumberOfKidsField = page.getByTestId('current-number-of-kids')
|
||||
this.stronglyDisagreeOnWantingKids = page.locator('[id="headlessui-radiogroup-option-:r49:"]')
|
||||
this.disagreeOnWantingKids = page.locator('[id="headlessui-radiogroup-option-:r4b:"]')
|
||||
this.neutralOnWantingKids = page.locator('[id="headlessui-radiogroup-option-:r4d:"]')
|
||||
this.agreeOnWantingKids = page.locator('[id="headlessui-radiogroup-option-:r4f:"]')
|
||||
this.stronglyAgreeOnWantingKids = page.locator('[id="headlessui-radiogroup-option-:r4h:"]')
|
||||
this.stronglyDisagreeOnWantingKids = page.getByRole('radio', {name: 'Strongly disagree'})
|
||||
this.disagreeOnWantingKids = page.getByRole('radio', {name: 'Disagree'})
|
||||
this.neutralOnWantingKids = page.getByRole('radio', {name: 'Neutral'})
|
||||
this.agreeOnWantingKids = page.getByRole('radio', {name: 'Agree'})
|
||||
this.stronglyAgreeOnWantingKids = page.getByRole('radio', {name: 'Strongly agree'})
|
||||
this.addInterestsField = page.getByRole('textbox', {name: 'Search or add'}).first()
|
||||
this.addInterestsButton = page.getByRole('button', {name: 'Add'}).first()
|
||||
this.addCausesField = page.getByRole('textbox', {name: 'Search or add'}).nth(1)
|
||||
|
||||
@@ -35,6 +35,7 @@ export function RadioToggleGroup(props: {
|
||||
setChoice(-1)
|
||||
}
|
||||
}}
|
||||
aria-label={choiceKey}
|
||||
key={choiceKey}
|
||||
value={choice}
|
||||
className={({disabled}) =>
|
||||
|
||||
Reference in New Issue
Block a user