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