2020-08-14 11:23:55 +02:00
|
|
|
describe('Licenses', () => {
|
|
|
|
it('Licenses loaded', () => {
|
2021-11-11 21:20:01 +01:00
|
|
|
cy.get('[data-attr=top-menu-toggle]').click()
|
2021-02-04 10:53:00 +01:00
|
|
|
cy.get('[data-attr=top-menu-item-licenses]').click()
|
2022-05-27 14:31:17 +02:00
|
|
|
cy.get('[data-attr=breadcrumb-0]').should('contain', Cypress.config().baseUrl.replace('http://', '')) // Breadcrumbs work
|
2021-12-07 10:58:28 +01:00
|
|
|
cy.get('[data-attr=breadcrumb-1]').should('have.text', 'Licenses') // Breadcrumbs work
|
2020-08-14 11:23:55 +02:00
|
|
|
cy.get('h1').should('contain', 'Licenses')
|
2021-12-07 10:58:28 +01:00
|
|
|
cy.title().should('equal', 'Licenses • PostHog') // Page title works
|
2020-08-14 11:23:55 +02:00
|
|
|
})
|
|
|
|
})
|