diff --git a/cypress/e2e/list/list-view-list.spec.ts b/cypress/e2e/list/list-view-list.spec.ts index c637cc237..d980b3bd3 100644 --- a/cypress/e2e/list/list-view-list.spec.ts +++ b/cypress/e2e/list/list-view-list.spec.ts @@ -78,7 +78,7 @@ describe('List View List', () => { cy.get('.menu-list li .list-menu-link .color-bubble') .should('have.css', 'background-color', 'rgb(0, 219, 96)') - cy.get('.tasks-container .tasks .color-bubble') + cy.get('.tasks .color-bubble') .should('not.exist') }) @@ -90,9 +90,9 @@ describe('List View List', () => { }) cy.visit('/lists/1/list') - cy.get('.tasks-container .tasks') + cy.get('.tasks') .should('contain', tasks[1].title) - cy.get('.tasks-container .tasks') + cy.get('.tasks') .should('not.contain', tasks[99].title) cy.get('.card-content .pagination .pagination-link') @@ -101,9 +101,9 @@ describe('List View List', () => { cy.url() .should('contain', '?page=2') - cy.get('.tasks-container .tasks') + cy.get('.tasks') .should('contain', tasks[99].title) - cy.get('.tasks-container .tasks') + cy.get('.tasks') .should('not.contain', tasks[1].title) }) }) \ No newline at end of file diff --git a/src/components/tasks/edit-task.vue b/src/components/tasks/edit-task.vue deleted file mode 100644 index c233903ed..000000000 --- a/src/components/tasks/edit-task.vue +++ /dev/null @@ -1,187 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/views/list/ListList.vue b/src/views/list/ListList.vue index 8e03fa83c..6b4816321 100644 --- a/src/views/list/ListList.vue +++ b/src/views/list/ListList.vue @@ -53,15 +53,13 @@ class="loader-container is-max-width-desktop list-view" > - + class="list-view__add-task" + ref="addTaskRef" + :default-position="firstNewPosition" + @taskAdded="updateTaskList" + /> {{ $t('list.list.empty') }} @@ -70,59 +68,42 @@ -
-
- +