fix data-test prop on join and leave audio
This commit is contained in:
parent
2506842b3d
commit
acea25b781
@ -79,6 +79,7 @@ class AudioControls extends PureComponent {
|
||||
hideLabel
|
||||
aria-label={intl.formatMessage(intlMessages.joinAudio)}
|
||||
label={intl.formatMessage(intlMessages.joinAudio)}
|
||||
data-test="joinAudio"
|
||||
color="default"
|
||||
ghost
|
||||
icon="audio_off"
|
||||
|
@ -301,6 +301,7 @@ class InputStreamLiveSelector extends Component {
|
||||
aria-label={intl.formatMessage(intlMessages.leaveAudio)}
|
||||
label={intl.formatMessage(intlMessages.leaveAudio)}
|
||||
accessKey={shortcuts.leaveaudio}
|
||||
data-test="leaveAudio"
|
||||
hideLabel
|
||||
color="primary"
|
||||
icon={isListenOnly ? 'listen' : 'audio_on'}
|
||||
|
@ -10,14 +10,13 @@ exports.zoomIn = 'button[aria-label="Zoom in"]';
|
||||
|
||||
exports.isTalking = '[data-test="isTalking"]';
|
||||
exports.wasTalking = '[data-test="wasTalking"]';
|
||||
// exports.joinAudio = 'button[data-test="joinAudio"]';
|
||||
exports.leaveAudio = 'button[aria-label="Leave audio"]';
|
||||
exports.joinAudio = 'button[data-test="joinAudio"]';
|
||||
exports.leaveAudio = 'button[data-test="leaveAudio"]';
|
||||
exports.disconnectAudio = 'li[data-test="disconnectAudio"]';
|
||||
|
||||
exports.actions = 'button[aria-label="Actions"]';
|
||||
exports.options = 'button[aria-label="Options"]';
|
||||
exports.userList = 'button[aria-label="Users and Messages Toggle"]';
|
||||
exports.joinAudio = 'button[aria-label="Join Audio"]';
|
||||
exports.connectingStatus = 'div[class^="connecting--"]';
|
||||
exports.videoMenu = 'button[aria-label="Open video menu dropdown"]';
|
||||
exports.screenShare = 'button[aria-label="Share your screen"]';
|
||||
|
Loading…
Reference in New Issue
Block a user