From 5c280867e2eb3f95882d95d9e9e315fca309fbd6 Mon Sep 17 00:00:00 2001 From: jtubau Date: Wed, 29 Jan 2025 08:35:37 +0100 Subject: [PATCH] fix: refs #8418 adjusted route for button click --- test/cypress/integration/entry/myEntry.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/cypress/integration/entry/myEntry.spec.js b/test/cypress/integration/entry/myEntry.spec.js index c25476419..f06fdbbcc 100644 --- a/test/cypress/integration/entry/myEntry.spec.js +++ b/test/cypress/integration/entry/myEntry.spec.js @@ -9,11 +9,11 @@ describe('EntryMy when is supplier', () => { }); }); // https://redmine.verdnatura.es/issues/8418 - it.skip('should open buyLabel when is supplier', () => { + it('should open buyLabel when is supplier', () => { cy.get( '[to="/null/3"] > .q-card > .column > .q-btn > .q-btn__content > .q-icon' ).click(); - cy.get('.q-card__actions > .q-btn').click(); + cy.get('.q-card__section > .q-infinite-scroll > .q-table__container > .q-table__top > :nth-child(3) > .q-btn > .q-btn__content > .q-icon').click(); cy.window().its('open').should('be.called'); }); });