integration tests (#827)

main
Michael Fix 6 years ago committed by GitHub
parent 8fc8c29af7
commit d3795b405b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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')
})
})

@ -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)')
})
})
})
Loading…
Cancel
Save