From 6106ca67d0bf610f341d076da2e56cc5879d25ff Mon Sep 17 00:00:00 2001 From: alexm Date: Wed, 12 Mar 2025 14:22:14 +0100 Subject: [PATCH] test: refs #6994 e2e VnLog VnLogValue functionality --- src/components/common/VnLogValue.vue | 7 ++++++- test/cypress/integration/vnComponent/VnLog.spec.js | 5 ++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/components/common/VnLogValue.vue b/src/components/common/VnLogValue.vue index 05fe54032..df0be4011 100644 --- a/src/components/common/VnLogValue.vue +++ b/src/components/common/VnLogValue.vue @@ -12,6 +12,11 @@ const descriptor = computed(() => descriptorStore.has($props.name)); diff --git a/test/cypress/integration/vnComponent/VnLog.spec.js b/test/cypress/integration/vnComponent/VnLog.spec.js index 0baab21c9..afe641549 100644 --- a/test/cypress/integration/vnComponent/VnLog.spec.js +++ b/test/cypress/integration/vnComponent/VnLog.spec.js @@ -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(); }); });