0
0
Fork 0

fix: refs #8422 fixed ItemTag e2e test not working

This commit is contained in:
PAU ROVIRA ROSALENY 2025-01-28 12:39:28 +01:00
parent 01e726c6f7
commit b8ffc8c26c
1 changed files with 4 additions and 4 deletions

View File

@ -18,20 +18,20 @@ describe('Item tag', () => {
+cy.dataCy('crudModelDefaultSaveBtn').click();
cy.checkNotification("The tag or priority can't be repeated for an item");
});
// https://redmine.verdnatura.es/issues/8422
it.skip('should add a new tag', () => {
it('should add a new tag', () => {
cy.get('.q-page').should('be.visible');
cy.get('.q-page-sticky > div').click();
cy.get('.q-page-sticky > div').click();
cy.dataCy('Tag_select').eq(7).click();
cy.get('.q-menu .q-item').contains('Ancho de la base').click();
cy.get('.q-menu .q-item').contains('Ancho de la base').type('{enter}');
cy.get(
':nth-child(8) > [label="Value"] > .q-field > .q-field__inner > .q-field__control > .q-field__control-container > [data-cy="Value_input"]'
).type('50');
cy.dataCy('crudModelDefaultSaveBtn').click();
cy.checkNotification('Data saved');
cy.get(
'[data-cy="itemTags"] > :nth-child(7) > .justify-center > .q-icon'
'[data-cy="itemTags"] > :nth-child(8) > .justify-center > .q-icon'
).click();
cy.dataCy('VnConfirm_confirm').click();
cy.checkNotification('Data saved');