test: refs #6994 e2e VnLog VnLogValue functionality
gitea/salix-front/pipeline/pr-dev This commit is unstable
Details
gitea/salix-front/pipeline/pr-dev This commit is unstable
Details
This commit is contained in:
parent
6ddc1c77f8
commit
6106ca67d0
|
@ -12,6 +12,11 @@ const descriptor = computed(() => descriptorStore.has($props.name));
|
|||
</script>
|
||||
<template>
|
||||
<VnJsonValue v-bind="$attrs" />
|
||||
<QIcon name="launch" class="link" v-if="$attrs.value && descriptor" />
|
||||
<QIcon
|
||||
name="launch"
|
||||
class="link"
|
||||
v-if="$attrs.value && descriptor"
|
||||
:data-cy="'iconLaunch-' + $props.name"
|
||||
/>
|
||||
<component :is="descriptor" :id="$attrs.value" v-if="$attrs.value && descriptor" />
|
||||
</template>
|
||||
|
|
|
@ -24,9 +24,8 @@ describe('VnLog', () => {
|
|||
});
|
||||
|
||||
it('should show claimDescriptor', () => {
|
||||
cy.get('.json-link').first().contains('1');
|
||||
cy.get('.json-link').first().click();
|
||||
cy.dataCy('iconLaunch-claimFk').first().click();
|
||||
cy.dataCy('descriptor_id').contains('1');
|
||||
cy.get('.json-link').first().click();
|
||||
cy.dataCy('iconLaunch-claimFk').first().click();
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue