diff --git a/frontend/cypress/integration/diet.spec.js b/frontend/cypress/integration/diet.spec.js index eedf1a4f783005bff707f5d612f5c5b1790f60c3..4b49c5a1c64173c4c69e9b025635b0a8f142b10d 100644 --- a/frontend/cypress/integration/diet.spec.js +++ b/frontend/cypress/integration/diet.spec.js @@ -146,24 +146,4 @@ describe('tests diets page', () => { cy.get('.alert') .should('be.visible'); }); - - /* it('alert should be visible if exercise has no data', () => { - cy.get('#inputName') - .type(generateStringWithLengthX(10)); - - cy.get('#inputDateTime') - .type('2021-03-11T10:00') - - cy.get('#inputNotes') - .type(generateStringWithLengthX(10)); - - cy.get('[name="type"]') - .select(cy.get('[name="type"]').first().invoke('val')); - - cy.get('#btn-ok-diet') - .click(); - - cy.get('.alert') - .should('be.visible'); - }); */ }); diff --git a/frontend/cypress/integration/workout.spec.js b/frontend/cypress/integration/workout.spec.js index f2e85028c662bcdeea4632c4264cc8dca39af894..d45ff05f77cceccb8181da9c4eb4e8d7143706fc 100644 --- a/frontend/cypress/integration/workout.spec.js +++ b/frontend/cypress/integration/workout.spec.js @@ -146,24 +146,4 @@ describe('boundary tests workout page', () => { cy.get('.alert') .should('be.visible'); }); - - /* it('alert should be visible if exercise has no data', () => { - cy.get('#inputName') - .type(generateStringWithLengthX(10)); - - cy.get('#inputDateTime') - .type('2021-03-11T10:00') - - cy.get('#inputNotes') - .type(generateStringWithLengthX(10)); - - cy.get('[name="type"]') - .select(cy.get('[name="type"]').first().invoke('val')); - - cy.get('#btn-ok-workout') - .click(); - - cy.get('.alert') - .should('be.visible'); - }); */ });