dashboard-vue.spec.ts 617 B

1234567891011121314151617181920
  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(
  9. [
  10. 'cypress/fixtures/images/cat.jpg',
  11. 'cypress/fixtures/images/traffic.jpg',
  12. ],
  13. { force: true },
  14. )
  15. cy.get('.uppy-Dashboard-Item-previewImg')
  16. .should('have.length', 2)
  17. .each((element) => expect(element).attr('src').to.include('blob:'))
  18. })
  19. })