diff --git a/e2e/cypress/integration/dashboard-transloadit.spec.ts b/e2e/cypress/integration/dashboard-transloadit.spec.ts index a21ff1383..043d9400f 100644 --- a/e2e/cypress/integration/dashboard-transloadit.spec.ts +++ b/e2e/cypress/integration/dashboard-transloadit.spec.ts @@ -176,15 +176,14 @@ describe('Dashboard with Transloadit', () => { }) it('should not create assembly when all individual files have been cancelled', () => { - cy.get('@file-input').selectFile( - [ - 'cypress/fixtures/images/cat.jpg', - 'cypress/fixtures/images/traffic.jpg', - ], - { force: true }, - ) - cy.window().then(({ uppy }) => { + cy.get('@file-input').selectFile( + [ + 'cypress/fixtures/images/cat.jpg', + 'cypress/fixtures/images/traffic.jpg', + ], + { force: true }, + ) // eslint-disable-next-line // @ts-ignore fix me expect(