0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-29 11:12:33 +01:00
posthog/cypress/integration/licenses.js

11 lines
514 B
JavaScript
Raw Normal View History

describe('Licenses', () => {
it('Licenses loaded', () => {
cy.get('[data-attr=top-menu-toggle]').click()
cy.get('[data-attr=top-menu-item-licenses]').click()
cy.get('[data-attr=breadcrumb-0]').should('contain', 'test.posthog.net') // Breadcrumbs work
cy.get('[data-attr=breadcrumb-1]').should('have.text', 'Licenses') // Breadcrumbs work
cy.get('h1').should('contain', 'Licenses')
cy.title().should('equal', 'Licenses • PostHog') // Page title works
})
})