UI: add IDs for mobile testing (#26244)
This commit is contained in:
parent
7cc9adc75c
commit
6f28537531
4 changed files with 22 additions and 3 deletions
|
|
@ -19,6 +19,7 @@
|
|||
{{ $t("config.system.backupRestore.backup.description") }}
|
||||
</p>
|
||||
<button
|
||||
data-testid="backup-restore-open-confirm-modal"
|
||||
class="btn btn-outline-secondary"
|
||||
@click="openBackupRestoreConfirmModal('backup')"
|
||||
>
|
||||
|
|
@ -144,6 +145,7 @@
|
|||
</button>
|
||||
|
||||
<button
|
||||
data-testid="backup-restore-download"
|
||||
type="submit"
|
||||
class="btn text-truncate"
|
||||
:class="confirmType === 'backup' ? 'btn-primary' : 'btn-danger'"
|
||||
|
|
|
|||
|
|
@ -23,7 +23,12 @@
|
|||
data-testid="topnavigation-dropdown"
|
||||
>
|
||||
<li>
|
||||
<router-link class="dropdown-item" to="/sessions" active-class="active">
|
||||
<router-link
|
||||
class="dropdown-item"
|
||||
to="/sessions"
|
||||
active-class="active"
|
||||
data-testid="topnavigation-sessions"
|
||||
>
|
||||
{{ $t("header.sessions") }}
|
||||
</router-link>
|
||||
</li>
|
||||
|
|
@ -59,7 +64,12 @@
|
|||
</button>
|
||||
</li>
|
||||
<li>
|
||||
<router-link class="dropdown-item" to="/config" active-class="active">
|
||||
<router-link
|
||||
class="dropdown-item"
|
||||
to="/config"
|
||||
active-class="active"
|
||||
data-testid="topnavigation-config"
|
||||
>
|
||||
<span
|
||||
v-if="showConfigBadge"
|
||||
class="d-inline-block p-1 rounded-circle bg-warning rounded-circle"
|
||||
|
|
|
|||
|
|
@ -318,6 +318,7 @@
|
|||
{{ $t("help.issueButton") }}
|
||||
</router-link>
|
||||
<button
|
||||
data-testid="backup-restore"
|
||||
class="btn btn-outline-secondary text-truncate"
|
||||
@click="openModal('backupRestoreModal')"
|
||||
>
|
||||
|
|
|
|||
|
|
@ -153,7 +153,13 @@
|
|||
@show-session="showDetails"
|
||||
/>
|
||||
<div class="d-flex gap-2 mt-1 mb-5">
|
||||
<a class="btn btn-outline-secondary" tabindex="0" :href="csvLink" download>
|
||||
<a
|
||||
class="btn btn-outline-secondary"
|
||||
tabindex="0"
|
||||
:href="csvLink"
|
||||
download
|
||||
data-testid="sessions-download"
|
||||
>
|
||||
{{ csvLinkLabel }}
|
||||
</a>
|
||||
<button
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue