diff --git a/test/cypress/integration/item/ItemFixedPrice.spec.js b/test/cypress/integration/item/ItemFixedPrice.spec.js index 49a328f5d..41230f570 100644 --- a/test/cypress/integration/item/ItemFixedPrice.spec.js +++ b/test/cypress/integration/item/ItemFixedPrice.spec.js @@ -55,6 +55,7 @@ describe('Handle Items FixedPrice', () => { it('should edit all items', () => { cy.get('.bg-header > :nth-child(1) > .q-checkbox > .q-checkbox__inner').click(); + cy.dataCy('FixedPriceToolbarEditBtn').should('not.be.disabled'); cy.dataCy('FixedPriceToolbarEditBtn').click(); cy.dataCy('EditFixedPriceSelectOption').type(grouping); cy.get('.q-menu .q-item').contains(grouping).click(); @@ -65,6 +66,7 @@ describe('Handle Items FixedPrice', () => { it('should remove all items', () => { cy.get('.bg-header > :nth-child(1) > .q-checkbox > .q-checkbox__inner').click(); + cy.dataCy('crudModelDefaultRemoveBtn').should('not.be.disabled'); cy.dataCy('crudModelDefaultRemoveBtn').click(); cy.dataCy('VnConfirm_confirm').click(); cy.checkNotification('Data saved');