diff --git a/cypress/integration/basic.js b/cypress/integration/basic.js index 84f186b..7dbbbf0 100644 --- a/cypress/integration/basic.js +++ b/cypress/integration/basic.js @@ -19,4 +19,23 @@ describe('Basic', () => { cy.contains('#container', '%') }) + + /* + * This test should only be run locally since it actually downloads a file + * for verification. + */ + it.skip('Should download a PNGs and SVGs', () => { + cy.visit('/') + editorVisible() + + cy.contains('span[type="button"]', 'Save Image').click() + cy.get('#downshift-2-item-0').click() + + cy.wait(1000) + + cy.contains('span[type="button"]', 'Save Image').click() + cy.get('#downshift-2-item-1').click() + + cy.wait(1000) + }) })