diff --git a/cypress/integration/background-color-spec.js b/cypress/integration/background-color.spec.js similarity index 100% rename from cypress/integration/background-color-spec.js rename to cypress/integration/background-color.spec.js diff --git a/cypress/integration/basic.js b/cypress/integration/basic.spec.js similarity index 100% rename from cypress/integration/basic.js rename to cypress/integration/basic.spec.js diff --git a/cypress/integration/embed.spec.js b/cypress/integration/embed.spec.js new file mode 100644 index 0000000..cbb439d --- /dev/null +++ b/cypress/integration/embed.spec.js @@ -0,0 +1,9 @@ +/* global cy */ +describe('Embed', () => { + it('Should render the Carbon editor but no toolbar', () => { + cy.visit('/embed') + + cy.get('.export-container').should('be.visible') + cy.get('.export-menu-container').should('not.exist') + }) +}) diff --git a/cypress/integration/gist.js b/cypress/integration/gist.spec.js similarity index 74% rename from cypress/integration/gist.js rename to cypress/integration/gist.spec.js index 9abba18..f316e56 100644 --- a/cypress/integration/gist.js +++ b/cypress/integration/gist.spec.js @@ -20,11 +20,5 @@ describe('Gist', () => { cy.url().should('not.contain', '?') }) - - test(`${page} should have a green editor background`, () => { - cy.visit(`${page}82d742f4efad9757cc826d20f2a5e5af`) - - cy.get('.container-bg .bg').should('have.css', 'background-color', 'rgb(0, 128, 0)') - }) }) }) diff --git a/cypress/integration/localStorage-spec.js b/cypress/integration/localStorage.spec.js similarity index 100% rename from cypress/integration/localStorage-spec.js rename to cypress/integration/localStorage.spec.js