0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-24 09:14:46 +01:00
posthog/cypress/integration/paths.js

18 lines
426 B
JavaScript
Raw Permalink 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')
})
})