test: refs #6994 add e2e VnLog descriptors
This commit is contained in:
parent
80eebef931
commit
a4dfb549be
|
@ -200,7 +200,7 @@ const toModule = computed(() =>
|
|||
</div>
|
||||
</QItemLabel>
|
||||
<QItem>
|
||||
<QItemLabel class="subtitle">
|
||||
<QItemLabel class="subtitle" data-cy="descriptor_id">
|
||||
#{{ getValueFromPath(subtitle) ?? entity.id }}
|
||||
</QItemLabel>
|
||||
<QBtn
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
<script setup>
|
||||
import ClaimDescriptor from './ClaimDescriptor.vue';
|
||||
import ClaimSummary from './ClaimSummary.vue';
|
||||
</script>
|
||||
<template>
|
||||
<QPopupProxy style="max-width: 10px">
|
||||
<ClaimDescriptor
|
||||
v-if="$attrs.id"
|
||||
v-bind="$attrs.id"
|
||||
:summary="ClaimSummary"
|
||||
:proxy-render="true"
|
||||
/>
|
||||
</QPopupProxy>
|
||||
</template>
|
|
@ -22,4 +22,11 @@ describe('VnLog', () => {
|
|||
cy.get('.q-page').click();
|
||||
cy.validateContent(chips[0], 'Claim');
|
||||
});
|
||||
|
||||
it('should show claimDescriptor', () => {
|
||||
cy.get('.json-link').first().contains('1');
|
||||
cy.get('.json-link').first().click();
|
||||
cy.dataCy('descriptor_id').contains('1');
|
||||
cy.get('.json-link').first().click();
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue