summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSandeepa Singh <sandeepa.singh@ibm.com>2021-02-08 18:44:02 +0300
committerDerick Montague <derick.montague@ibm.com>2021-02-11 22:29:37 +0300
commitdf88f13a88fa05cfea190ff20220226a38e371ec (patch)
tree14e82e2b140de5d92390292b2539834de26f0e2c /src
parentb28e243bc806687c0e009305927ea60f7a78ea88 (diff)
downloadwebui-vue-df88f13a88fa05cfea190ff20220226a38e371ec.tar.xz
Added test hook for client session page
Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: I5ba8243fcc0ba561bfab18503c2c1ba5aebd47c0
Diffstat (limited to 'src')
-rw-r--r--src/views/AccessControl/ClientSessions/ClientSessions.vue7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/views/AccessControl/ClientSessions/ClientSessions.vue b/src/views/AccessControl/ClientSessions/ClientSessions.vue
index 1921c86a..b61b2032 100644
--- a/src/views/AccessControl/ClientSessions/ClientSessions.vue
+++ b/src/views/AccessControl/ClientSessions/ClientSessions.vue
@@ -5,6 +5,7 @@
<b-col sm="6" md="5" xl="4">
<search
:placeholder="$t('pageClientSessions.table.searchSessions')"
+ data-test-id="clientSessions-input-searchSessions"
@change-search="onChangeSearchInput"
@clear-search="onClearSearchInput"
/>
@@ -48,7 +49,7 @@
<template #head(checkbox)>
<b-form-checkbox
v-model="tableHeaderCheckboxModel"
- data-test-id="sessionLogs-checkbox-selectAll"
+ data-test-id="clientSessions-checkbox-selectAll"
:indeterminate="tableHeaderCheckboxIndeterminate"
@change="onChangeHeaderCheckbox($refs.table)"
>
@@ -58,7 +59,7 @@
<template #cell(checkbox)="row">
<b-form-checkbox
v-model="row.rowSelected"
- :data-test-id="`sessionLogs-checkbox-selectRow-${row.index}`"
+ :data-test-id="`clientSessions-checkbox-selectRow-${row.index}`"
@change="toggleSelectRow($refs.table, row.index)"
>
<span class="sr-only">{{ $t('global.table.selectItem') }}</span>
@@ -74,7 +75,7 @@
:title="action.title"
:row-data="row.item"
:btn-icon-only="false"
- :data-test-id="`sessionLogs-button-deleteRow-${row.index}`"
+ :data-test-id="`clientSessions-button-disconnect-${row.index}`"
@click-table-action="onTableRowAction($event, row.item)"
></table-row-action>
</template>