0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-24 18:07:17 +01:00
posthog/cypress/e2e/eventDefinitions.js

14 lines
553 B
JavaScript

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-see-recordings]').should('exist')
cy.get('[data-attr=event-definitions-table-see-recordings]').click()
cy.url().should('contain', 'entered_free_trial')
})
})