From 80230069c6f09ced484cd356b816df6b1dd296d6 Mon Sep 17 00:00:00 2001 From: kolaente Date: Sun, 23 Oct 2022 13:48:45 +0200 Subject: [PATCH] fix: make sure the filter button is always shown on the kanban board --- cypress/e2e/list/list-view-kanban.spec.ts | 11 +++++++++++ src/views/list/ListKanban.vue | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/cypress/e2e/list/list-view-kanban.spec.ts b/cypress/e2e/list/list-view-kanban.spec.ts index 68268304d..6949626ac 100644 --- a/cypress/e2e/list/list-view-kanban.spec.ts +++ b/cypress/e2e/list/list-view-kanban.spec.ts @@ -193,4 +193,15 @@ describe('List View Kanban', () => { cy.get('.kanban .bucket') .should('not.contain', task.title) }) + + it('Shows a button to filter the kanban board', () => { + const data = TaskFactory.create(10, { + list_id: 1, + bucket_id: 1, + }) + cy.visit('/lists/1/kanban') + + cy.get('.list-kanban .filter-container .base-button') + .should('exist') + }) }) \ No newline at end of file diff --git a/src/views/list/ListKanban.vue b/src/views/list/ListKanban.vue index b0bac94b3..45fdc3d45 100644 --- a/src/views/list/ListKanban.vue +++ b/src/views/list/ListKanban.vue @@ -1,7 +1,7 @@