fix(views): create bucket in test
continuous-integration/drone/pr Build is failing Details

This commit is contained in:
kolaente 2024-03-19 17:57:00 +01:00
parent 5b01710943
commit 89ed71777e
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 6 additions and 1 deletions

View File

@ -5,6 +5,7 @@ import {TaskFactory} from '../../factories/task'
import {UserFactory} from '../../factories/user'
import {ProjectFactory} from '../../factories/project'
import {prepareProjects} from './prepareProjects'
import {BucketFactory} from '../../factories/bucket'
describe('Project View List', () => {
createFakeUserAndLogin()
@ -23,7 +24,11 @@ describe('Project View List', () => {
.should('exist')
})
it('Should create a new task', () => {
it.only('Should create a new task', () => {
BucketFactory.create(2, {
project_view_id: 1,
})
const newTaskTitle = 'New task'
cy.visit('/projects/1')