0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-25 11:17:50 +01:00
posthog/cypress/integration/paths.js

18 lines
426 B
JavaScript
Raw Normal View History

describe('Paths', () => {
beforeEach(() => {
cy.visit('/')
cy.get('[data-attr=insight-path-tab]').click()
})
it('Paths loaded', () => {
cy.get('[data-attr=paths-viz]').should('exist')
})
it('Apply date filter', () => {
cy.get('[data-attr=date-filter]').click()
cy.contains('Last 30 days').click()
cy.get('[data-attr=paths-viz]').should('exist')
})
})