0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-28 09:16:49 +01:00
posthog/cypress/integration/toolbar.js
Marius Andra 863e75bf9f
Toolbar Default On + Load Test (#1326)
* set user.toolbar_mode default to "toolbar", turning it on for new users

* test that the toolbar loads when you open /demo
2020-08-04 14:46:08 +02:00

10 lines
182 B
JavaScript

describe('Toolbar', () => {
beforeEach(() => {
cy.visit('/demo')
})
it('Toolbar loads', () => {
cy.get('#__POSTHOG_TOOLBAR__').should('exist')
})
})