0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-25 11:17:50 +01:00
posthog/cypress/e2e/eventDefinitions.cy.ts
2022-12-30 21:27:26 +01:00

14 lines
555 B
TypeScript

describe('Event Definitions', () => {
beforeEach(() => {
cy.visit('/data-management/events')
})
it('See recordings action', () => {
cy.get('[data-attr=events-definition-table]').should('exist')
cy.get('[data-attr=event-definitions-table-more-button-entered_free_trial]').first().click()
cy.get('[data-attr=event-definitions-table-view-recordings]').should('exist')
cy.get('[data-attr=event-definitions-table-view-recordings]').click()
cy.url().should('contain', 'entered_free_trial')
})
})