mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-29 11:12:33 +01:00
cc7d3ed3fc
* Fix breadcrumbs and add some Cypress tests * Update licenses.js
11 lines
514 B
JavaScript
11 lines
514 B
JavaScript
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
|
|
})
|
|
})
|