mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-28 09:16:49 +01:00
7dc4e2e45f
* bring retention table and paths to trends page, refactor tabs * fix filters * remove add dashboard item * add funnel to insights * add funnel to insights * add url handling * add people table to funnel insight * chart filters * funnels date filter working * add comments * prop and date filters working * fix default states * add types for dashboard visualizations * save funnel * dashboard items working * reformat tabs * fix links * fix tests * fix tests * add missing labels * change trends to insights * fix funnel filtering * add test * add clear funnel ability
22 lines
585 B
JavaScript
22 lines
585 B
JavaScript
describe('People', () => {
|
|
beforeEach(() => {
|
|
cy.get('[data-attr=menu-item-people]').click()
|
|
})
|
|
|
|
it('People loaded', () => {
|
|
cy.get('h1').should('contain', 'Users')
|
|
})
|
|
|
|
it('Go to new cohort from people screen', () => {
|
|
cy.get('[data-attr=create-cohort]').click()
|
|
cy.get('span').should('contain', 'New Cohort')
|
|
})
|
|
|
|
it('All people route works', () => {
|
|
cy.get('[data-attr=menu-item-cohorts]').click()
|
|
cy.get('[data-attr=menu-item-all-people]').click()
|
|
|
|
cy.get('h1').should('contain', 'Users')
|
|
})
|
|
})
|