Resolve "set fields to use meaningful ID names for automated test"

This commit is contained in:
N Pex 2022-01-27 14:56:48 +00:00
parent 4b413c1893
commit 7a50e22471
23 changed files with 70 additions and 25 deletions

View file

@ -122,6 +122,7 @@
<v-container v-if="room" fluid class="input-area-outer">
<!-- "Scroll to end"-button -->
<v-btn
id="btn-scroll-to-end"
class="scroll-to-end"
v-show="showScrollToEnd"
fab
@ -150,6 +151,7 @@
<v-row class="input-area-inner align-center">
<v-col class="flex-grow-1 flex-shrink-1 ma-0 pa-0">
<v-textarea
id="message-input"
height="undefined"
ref="messageInput"
full-width
@ -174,6 +176,7 @@
v-if="editedEvent || replyToEvent"
>
<v-btn
id="btn-cancel-reply"
fab
small
elevation="0"
@ -189,6 +192,7 @@
v-if="!currentInput || currentInput.length == 0 || showRecorder"
>
<v-btn
id="btn-microphone"
v-if="canRecordAudio"
class="mic-button"
ref="mic_button"
@ -203,6 +207,7 @@
</v-btn>
<v-btn
v-else
id="btn-microphone"
class="mic-button"
ref="mic_button"
fab
@ -221,6 +226,7 @@
v-else
>
<v-btn
id="btn-send"
fab
small
elevation="0"
@ -239,6 +245,7 @@
class="input-area-button text-center flex-grow-0 flex-shrink-1"
>
<v-btn
id="btn-stickers"
v-if="!showRecorder"
icon
large
@ -254,6 +261,7 @@
<label icon flat ref="attachmentLabel">
<v-btn
v-if="!showRecorder"
id="btn-attach"
icon
large
color="black"
@ -263,6 +271,7 @@
<v-icon x-large>add_circle_outline</v-icon>
</v-btn>
<input
id="attachment-picker"
ref="attachment"
type="file"
name="attachment"
@ -339,10 +348,11 @@
<v-divider></v-divider>
<v-card-actions>
<v-spacer></v-spacer>
<v-btn color="primary" text @click="cancelSendAttachment">{{
<v-btn color="primary" text @click="cancelSendAttachment" id="btn-attachment-cancel">{{
$t("menu.cancel")
}}</v-btn>
<v-btn
id="btn-attachment-send"
color="primary"
text
@click="sendAttachment"
@ -419,6 +429,7 @@
<v-card-actions>
<v-spacer></v-spacer>
<v-btn
id="btn-ok"
color="primary"
text
@click="showNoRecordingAvailableDialog = false"