fix data-test prop on join and leave audio

This commit is contained in:
Anton 2021-08-25 16:27:50 -03:00
parent 2506842b3d
commit acea25b781
3 changed files with 4 additions and 3 deletions

View File

@ -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"

View File

@ -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'}

View File

@ -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"]';