From c1964dc16e20c1d44ff61e4123e66c4586660a88 Mon Sep 17 00:00:00 2001 From: Jon Date: Tue, 18 Mar 2025 13:48:44 +0100 Subject: [PATCH] perf: refs #8193 e2e --- test/cypress/integration/vnComponent/VnNotes.spec.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/test/cypress/integration/vnComponent/VnNotes.spec.js b/test/cypress/integration/vnComponent/VnNotes.spec.js index 35dcd17eb..e197a9622 100644 --- a/test/cypress/integration/vnComponent/VnNotes.spec.js +++ b/test/cypress/integration/vnComponent/VnNotes.spec.js @@ -4,7 +4,7 @@ describe('VnNotes', () => { beforeEach(() => { cy.viewport(1920, 1080); cy.login('developer'); - cy.visit('#/customer/1101/notes'); + cy.visit('#/customer/1102/notes'); }); it('should add and filter notes', () => { @@ -15,9 +15,10 @@ describe('VnNotes', () => { cy.get('.column.full-width') .children() .each(($el) => { - cy.wrap($el) - .find('[data-cy="VnNotes-observation-type-badge"]') - .should('include.text', obervationType); + cy.dataCy('VnNotes-observation-type-badge').should( + 'include.text', + obervationType, + ); }); }); });