Browse Source

test: cy markers for shared base

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/3298/head
Raju Udava 2 years ago
parent
commit
ec864c9c6f
  1. 2
      packages/nc-gui-v2/components/general/HelpAndSupport.vue
  2. 4
      packages/nc-gui-v2/components/tabs/auth/user-management/ShareBase.vue

2
packages/nc-gui-v2/components/general/HelpAndSupport.vue

@ -19,7 +19,7 @@ const openSwaggerLink = () => {
class="flex items-center space-x-1 w-full cursor-pointer pl-3 py-1.5 hover:(text-primary bg-primary bg-opacity-5)"
@click="showDrawer = true"
>
<MdiCommentTextOutline class="mr-1 nc-share-base" />
<MdiCommentTextOutline class="mr-1" />
<!-- todo: i18n -->
<div>APIs & Support</div>
</div>

4
packages/nc-gui-v2/components/tabs/auth/user-management/ShareBase.vue

@ -143,7 +143,7 @@ onMounted(() => {
<div class="text-xs">{{ $t('activity.shareBase.link') }}</div>
</div>
<div v-if="base?.uuid" class="flex flex-row mt-2 bg-red-50 py-4 mx-1 px-2 items-center rounded-sm w-full justify-between">
<span class="flex text-xs overflow-x-hidden overflow-ellipsis text-gray-700 pl-2">{{ url }}</span>
<span class="flex text-xs overflow-x-hidden overflow-ellipsis text-gray-700 pl-2 nc-url">{{ url }}</span>
<div class="flex border-l-1 pt-1 pl-1">
<a-tooltip placement="bottom">
<template #title>
@ -191,7 +191,7 @@ onMounted(() => {
<div class="mt-4 flex flex-row justify-between mx-1">
<a-dropdown v-model="showEditBaseDropdown" class="flex">
<a-button>
<div class="flex flex-row items-center space-x-2">
<div class="flex flex-row items-center space-x-2 nc-disable-shared-base">
<div v-if="base?.uuid">{{ $t('activity.shareBase.enable') }}</div>
<div v-else>{{ $t('activity.shareBase.disable') }}</div>
<IcRoundKeyboardArrowDown class="h-[1rem]" />

Loading…
Cancel
Save