forked from vikunja/frontend
fix: column active test
This commit is contained in:
parent
0a0c6a6450
commit
9250f4e76b
|
@ -212,17 +212,17 @@ describe('Lists', () => {
|
|||
.should('contain', tasks[0].title)
|
||||
})
|
||||
|
||||
it.only('Should have working column switches', () => {
|
||||
it('Should have working column switches', () => {
|
||||
TaskFactory.create(1)
|
||||
cy.visit('/lists/1/table')
|
||||
|
||||
cy.get('.table-view .filter-container .items .button')
|
||||
.contains('Columns')
|
||||
.click()
|
||||
cy.get('.table-view .filter-container .card .card-content .fancycheckbox .check')
|
||||
cy.get('.table-view .filter-container .card.columns-filter .card-content .fancycheckbox .check')
|
||||
.contains('Priority')
|
||||
.click()
|
||||
cy.get('.table-view .filter-container .card .card-content .fancycheckbox .check')
|
||||
cy.get('.table-view .filter-container .card.columns-filter .card-content .fancycheckbox .check')
|
||||
.contains('Done')
|
||||
.click()
|
||||
|
||||
|
|
|
@ -107,10 +107,14 @@ export default {
|
|||
overflow: hidden;
|
||||
position: absolute;
|
||||
top: 2rem;
|
||||
margin: 0 !important;
|
||||
border-width: 0 !important;
|
||||
|
||||
&.is-open {
|
||||
opacity: 1;
|
||||
height: auto;
|
||||
margin: 1rem 0 !important;
|
||||
border-width: 1px !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
/>
|
||||
</div>
|
||||
<transition name="fade">
|
||||
<card v-if="showActiveColumnsFilter">
|
||||
<card v-if="showActiveColumnsFilter" class="columns-filter">
|
||||
<fancycheckbox @change="saveTaskColumns" v-model="activeColumns.id">#</fancycheckbox>
|
||||
<fancycheckbox @change="saveTaskColumns" v-model="activeColumns.done">
|
||||
{{ $t('task.attributes.done') }}
|
||||
|
|
Loading…
Reference in New Issue
Block a user