From 5e87b7d1a7cb185a8747e6da32547e6d03b81bf9 Mon Sep 17 00:00:00 2001 From: Mike Fix Date: Wed, 16 Jan 2019 10:49:02 -0800 Subject: [PATCH] Add CLI integration test - Closes #635 --- cypress/integration/basic.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/cypress/integration/basic.js b/cypress/integration/basic.js index 29a3ed6..f7bd8ce 100644 --- a/cypress/integration/basic.js +++ b/cypress/integration/basic.js @@ -21,6 +21,15 @@ describe('Basic', () => { cy.contains('.container', '%') }) + it("Should contain id's for CLI integrations to use", () => { + cy.get('#export-container').should('have.length', 1) + cy.get('.export-container').should('have.length', 1) + cy.get('#export-menu').should('have.length', 1) + cy.get('#export-menu').click() + cy.get('#export-png').should('have.length', 1) + cy.get('#export-svg').should('have.length', 1) + }) + /* * This test should only be run locally since it actually downloads a file * for verification.