misc: Add test ids for prejoin buttons
This commit is contained in:
parent
55175e2e95
commit
1e76b8b6ea
|
@ -70,6 +70,7 @@ function ActionButton({
|
|||
{children}
|
||||
{hasOptions && <div
|
||||
className = 'options'
|
||||
data-testid = 'prejoin.joinOptions'
|
||||
onClick = { disabled ? undefined : onOptionsClick }>
|
||||
<Icon
|
||||
className = 'icon'
|
||||
|
|
|
@ -329,6 +329,7 @@ class Prejoin extends Component<Props, State> {
|
|||
content = { <div className = 'prejoin-preview-dropdown-btns'>
|
||||
<div
|
||||
className = 'prejoin-preview-dropdown-btn'
|
||||
data-testid = 'prejoin.joinWithoutAudio'
|
||||
onClick = { joinConferenceWithoutAudio }>
|
||||
<Icon
|
||||
className = 'prejoin-preview-dropdown-icon'
|
||||
|
@ -341,6 +342,7 @@ class Prejoin extends Component<Props, State> {
|
|||
onClick = { _showDialog }>
|
||||
<Icon
|
||||
className = 'prejoin-preview-dropdown-icon'
|
||||
data-testid = 'prejoin.joinByPhone'
|
||||
size = { 24 }
|
||||
src = { IconPhone } />
|
||||
{ t('prejoin.joinAudioByPhone') }
|
||||
|
|
Loading…
Reference in New Issue