0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-28 09:16:49 +01:00
posthog/cypress/integration/licenses.js
Michael Matloka 33823e8648
Refactor sceneLogic to TypeScript and add dynamic page title (#2361)
* Refactor sceneLogic to TypeScript and add dynamic page title

* Add Cypress checks

* Run prettier

* Fix Cypress checks

* Improve camelCaseToTitle JSDoc

* Move "PostHog" to end of page title

* Use bullet

* Remove actions

* Rerun tests

* Fix new Events page after merge conflict
2020-11-13 17:50:23 +01:00

9 lines
315 B
JavaScript

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