fix(test): use correct file input
continuous-integration/drone/pr Build is failing Details

This commit is contained in:
kolaente 2023-12-11 23:23:25 +01:00
parent a4a2b95dc7
commit 8b9e5e54af
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ function uploadAttachmentAndVerify(taskId: number) {
cy.get('.task-view .action-buttons .button')
.contains('Add Attachments')
.click()
cy.get('input[type=file]', {timeout: 1000})
cy.get('input[type=file]#files', {timeout: 1000})
.selectFile('cypress/fixtures/image.jpg', {force: true}) // The input is not visible, but on purpose
cy.wait('@uploadAttachment')
@ -771,7 +771,7 @@ describe('Task', () => {
.should('exist')
})
it('Can check items off a checklist', () => {
it.only('Can check items off a checklist', () => {
const tasks = TaskFactory.create(1, {
id: 1,
description: `