Browse Source

test: fix share view link locator

Signed-off-by: mertmit <mertmit99@gmail.com>
pull/5332/head
mertmit 2 years ago
parent
commit
4b98faaba0
  1. 7
      packages/nc-gui/components/smartsheet/toolbar/ShareView.vue

7
packages/nc-gui/components/smartsheet/toolbar/ShareView.vue

@ -266,11 +266,8 @@ const copyIframeCode = async () => {
width="min(100vw,720px)"
wrap-class-name="nc-modal-share-view"
>
<div
data-testid="nc-modal-share-view__link"
class="share-link-box !bg-primary !bg-opacity-5 ring-1 ring-accent ring-opacity-100"
>
<div class="flex-1 h-min text-xs text-gray-500">{{ sharedViewUrl }}</div>
<div class="share-link-box !bg-primary !bg-opacity-5 ring-1 ring-accent ring-opacity-100">
<div data-testid="nc-modal-share-view__link" class="flex-1 h-min text-xs text-gray-500">{{ sharedViewUrl }}</div>
<a v-e="['c:view:share:open-url']" :href="sharedViewUrl" target="_blank">
<component :is="iconMap.share" class="text-sm text-gray-500" />

Loading…
Cancel
Save