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:
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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue