0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-29 19:16:37 +01:00
posthog/cypress/integration/licenses.js
Marius Andra a8ecf33be8
Preload chunks when loading scenes (#6942)
* preload chunks when loading esbuild scenes

* fix TS error

* fix license title

* fix scene identifiers in menu

* lowercase data-attr

* make the events menu have the old data-attr

* change var name to clarify its usage
2021-11-09 10:37:01 +00:00

9 lines
304 B
JavaScript

describe('Licenses', () => {
it('Licenses loaded', () => {
cy.get('[data-attr=top-navigation-whoami]').click()
cy.get('[data-attr=top-menu-item-licenses]').click()
cy.get('h1').should('contain', 'Licenses')
cy.title().should('equal', 'Licenses • PostHog')
})
})