Skip to content

Commit

Permalink
Add back opening tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
mika-robots committed Oct 9, 2023
1 parent 82c8bde commit 4a843a6
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions packages/end-to-end/cypress/e2e/tasks.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,21 @@ describe('Tasks', () => {

after(() => {});

it('CheckTasksNavigation', () => {
cy.get('[data-cy=navbar-hamburger]').should('exist').click();
cy.contains(translation['SLIDE_MENU']['TASKS']).should('exist').click();
cy.contains(translation['TASK']['ADD_TASK']).should('exist').and('not.be.disabled');
cy.visit('/');
// it('CheckTasksNavigation', () => {
// // Add a crop variety
// cy.get('[data-cy=navbar-hamburger]').should('exist').click();
// cy.contains(translation['SLIDE_MENU']['TASKS']).should('exist').click();
// cy.contains(translation['TASK']['ADD_TASK']).should('exist').and('not.be.disabled');
// cy.visit('/');

cy.get('[data-cy=home-taskButton]').should('exist').and('not.be.disabled').click();
// cy.get('[data-cy=home-taskButton]').should('exist').and('not.be.disabled').click();

cy.contains(translation['TASK']['ADD_TASK']).should('exist').and('not.be.disabled');
cy.visit('/');
});
// cy.contains(translation['TASK']['ADD_TASK']).should('exist').and('not.be.disabled');
// cy.visit('/');
// });

it('CreateCleanTask', () => {
cy.contains(translation['SLIDE_MENU']['TASKS']).should('exist').click();
cy.contains(translation['TASK']['ADD_TASK']).should('exist').and('not.be.disabled').click();
cy.contains(tasks['CLEANING_TASK']).should('exist').click();

Expand Down

0 comments on commit 4a843a6

Please sign in to comment.