OIDC: unit test ServerPickerDialog (#11019)

* add aria-label to default homeserver checkbox

* test ServerPickerDialog

* remove debug

* strict fixes

* use testid instead of aria-label

* i18n
This commit is contained in:
Kerry
2023-05-31 21:22:47 +00:00
committed by GitHub
parent e9a8f4a11d
commit a28f44a075
3 changed files with 384 additions and 0 deletions
@@ -202,6 +202,7 @@ export default class ServerPickerDialog extends React.PureComponent<IProps, ISta
value="true"
checked={this.state.defaultChosen}
onChange={this.onDefaultChosen}
data-testid="defaultHomeserver"
>
{defaultServerName}
</StyledRadioButton>