dashboard-vue.spec.ts 572 B

1234567891011121314
  1. describe('dashboard-vue', () => {
  2. beforeEach(() => {
  3. cy.visit('/dashboard-vue')
  4. })
  5. // Only Vue 3 works in Parcel if you use SFC's but Vue 3 is broken in Uppy:
  6. // https://github.com/transloadit/uppy/issues/2877
  7. xit('should render in Vue 3 and show thumbnails', () => {
  8. cy.get('@file-input').selectFile(['cypress/fixtures/images/cat.jpg', 'cypress/fixtures/images/traffic.jpg'], { force:true })
  9. cy.get('.uppy-Dashboard-Item-previewImg')
  10. .should('have.length', 2)
  11. .each((element) => expect(element).attr('src').to.include('blob:'))
  12. })
  13. })